except it creates docs for files in the darcs repo (which I'd rather it didn't) and it cannot find my README file, but the file is present in the directory from which the command is executed.
except it creates docs for files in the darcs repo (which I'd
rather it didn't) and it cannot find my README file, but the file
is present in the directory from which the command is executed.
I assume I'm being dense
It is a limit of the batch script that starts rdoc on Windows.
It delegates only the first 8 arguments. The rest will be silently
cut off.
From an answer of myself to a similar post:
Some options for you:
* Replace the Rake::RDocTask with:
task "rdoc" do
require 'rdoc/rdoc'
\# give the same arguments as to rdoc from commandline
\# try "rdoc \-\-help"
RDoc::RDoc\.new\.document\(%w\(\-\-title rrt\_ruby \-T html \.\.\.\.\.\)\)
end
\(The problem with invoking rdoc from the commandline on
Windows is, that a batch file is the start script which
takes only 8 \(or something like that\) arguments\.\)
I'm getting this error when I try to execute the rdoc task from
rake
undefined method `exitstatus' for nil:NilClass
Are you on Windows?
James
unfortunately yes I'm on Windows
Then I believe this is a known issue with Rake.
Which is fixed in latest from Rake's repository (I discovered it because I had a patch ready for another task - which reminds me, I need to post it but hey, it's been three hectic weeks).
Seems like it's time Jim makes a release.
Cheers,
V.-