Bugs item #5563, was opened at 2006-08-29 13:18
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5563&group_id=426

Category: Standard Library
Group: 1.8.5
Status: Open
Resolution: None
Priority: 3
Submitted By: Erik Hollensbe (erikh)
Assigned to: Nobody (None)
Summary: rdoc/usage uses an uninitalized constant

Initial Comment:
requiring rdoc/usage in any environment will cause this error, but since it's heavily dependent on the comments at the top of the file I decided to show that this:

---
#!/usr/bin/env ruby
#
# monkeys
#


require 'rdoc/usage'
---

Generates this:

---

/Users/erikh/lib/ruby/1.8/rdoc/ri/ri_options.rb:53: uninitialized constant RI::Paths (NameError)
        from /Users/erikh/lib/ruby/1.8/rdoc/usage.rb:72:in `require'
        from /Users/erikh/lib/ruby/1.8/rdoc/usage.rb:72
        from test.rb:7:in `require'
        from test.rb:7

---

I highly suspect (after a cursory viewing) that a "require 'rdoc/ri/ri_paths'" in ri_options.rb will do the trick. 

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5563&group_id=426