K
Kev Jackson
Hi,
I'm getting this error when I try to execute the rdoc task from rake
undefined method `exitstatus' for nil:NilClass
My rakefile looks like...
require 'rake'
require 'rake/rdoctask'
Rake::RDocTask.new { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "Title"
rdoc.options << '--line-numbers --inline-source'
rdoc.main ="README"
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/*.rb')
rdoc.rdoc_files.exclude('_darcs/**/*.rb')
}
running the rdoc command manually creates the documentation
rdoc -o doc --line-numbers --inline-source --main 'README' --title
'Title' -T 'html' README lib/*.rb --exclude _darcs/**/*.*
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
Kev
I'm getting this error when I try to execute the rdoc task from rake
undefined method `exitstatus' for nil:NilClass
My rakefile looks like...
require 'rake'
require 'rake/rdoctask'
Rake::RDocTask.new { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "Title"
rdoc.options << '--line-numbers --inline-source'
rdoc.main ="README"
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/*.rb')
rdoc.rdoc_files.exclude('_darcs/**/*.rb')
}
running the rdoc command manually creates the documentation
rdoc -o doc --line-numbers --inline-source --main 'README' --title
'Title' -T 'html' README lib/*.rb --exclude _darcs/**/*.*
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
Kev