[rspec-users] Problems with gem rdoc rspec

Andrew Vit andrew at avit.ca
Mon Mar 23 17:22:10 EDT 2009

My gems, e.g. rspec, gets installed in:

(Note the extra /gems/ subdirectory)

When I run "gem rdoc rspec" the output is empty and the Files section
has errors:

file not found -/Library/Ruby/Gems/1.8/rspec-1.2.2/rdoc/License.txt-
file not found -/Library/Ruby/Gems/1.8/rspec-1.2.2/rdoc/Manifest.txt-
file not found -/Library/Ruby/Gems/1.8/rspec-1.2.2/rdoc/examples/
file not found -/Library/Ruby/Gems/1.8/rspec-1.2.2/rdoc/TODO.txt-

(Those are the only files in there. Note the lack of /gems/

Do I need to add /gems/ to my GEM_PATH? I didn't think that's how it
works, and my other rubygems build their rdocs fine.

Or do I need to set a different path variable to set this up?
(GEM_HOME? I tried that and it didn't seem to help.)

Thanks for your help,
Andrew Vit

My environment:

$ echo $GEM_PATH

$ more ~/.gemrc
verbose: true
update_sources: true
  - http://gems.rubyforge.org/
  - http://gems.github.com/
backtrace: false
bulk_threshold: 1000
benchmark: false
gem: --rdoc
rdoc:  --fmt ajax --charset utf8 --exclude .*generator.* --
exclude .*test.* --exclude .*spec.*

More information about the rspec-users mailing list