# Rake RDocTask fails on Win XP

**URL:** https://rubytalk.org/t/rake-rdoctask-fails-on-win-xp/14093
**Category:** ruby-talk
**Created:** [9 October 2004 07:39 UTC](https://rubytalk.org/t/rake-rdoctask-fails-on-win-xp/14093 "2004-10-09T07:39:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Takashi\_Kayoko\_Sano](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Takashi\_Kayoko\_Sano](https://rubytalk.org/u/Takashi_Kayoko_Sano)
#### Post date: [9 October 2004 07:39 UTC](https://rubytalk.org/t/rake-rdoctask-fails-on-win-xp/14093/1 "2004-10-09T07:39:43Z")

</div>

Hi all,

I have a problem with Rake on Windows XP. Rake is 0.4.8 installed by  
RubyGems. Ruby is the release version of 1.8.1.

If I run a rakefile defining RDocTask as shown below, Rake aborts with  
an error message "Command Failed: [rdoc -o html -T 'html' README.txt]".

---Sample Rakefile

require 'rake/rdoctask'  
task :default =\> [:rdoc]  
Rake::RDocTask.new do |rdoc|  
&nbsp;&nbsp;rdoc.rdoc\_files.include('README.txt')  
end

> **···**
>
> ---
> 
> But if I run the same rdoc command in the same directory, it runs fine.  
> Is this a known problem?
> 
> Anyway, Jim, thank you for this powerful piece of software. It reduces  
> my burden for tedius repetitive tasks greatly. Thanks!
> 
> Takashi Sano
