I'm trying to integrate rdoc/usage.rb into my ruby script for the usage 
paramaters, however it doesn't seem to work.

when I call RDoc::usage I get this...

/usr/local/lib/ruby/1.8/rdoc/usage.rb:105:in `usage_no_exit': private 
method `gsub' called for nil:NilClass (NoMethodError)

Is there any way to fix this?

-- 
Posted via http://www.ruby-forum.com/.