I did a gem cleanup and since then I have been getting the following error
whenever I try to use a gem
irb(main):002:0> require 'systemu'
NoMethodError: undefined method `join' for nil:NilClass
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:96:in
`lib_dirs_for'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:26:in
`initialize'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:25:in `each'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:25:in
`initialize'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:684:in `new'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:684:in `searcher'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:683:in `synchronize'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:683:in `searcher'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:34:in
`require'
from (irb):2
irb(main):003:0> require 'rails'
NoMethodError: undefined method `join' for nil:NilClass
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:96:in
`lib_dirs_for'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:26:in
`initialize'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:25:in `each'
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:25:in
`initialize'
Heres my gem env
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
- INSTALLATION DIRECTORY: c:/ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: c:/ruby/bin/ruby.exe
- EXECUTABLE DIRECTORY: c:/ruby/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mswin32-60
- GEM PATHS:
- c:/ruby/lib/ruby/gems/1.8
- c:/Documents and Settings/dominic e sisneros/My
Documents/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gems.rubyforge.org", "
http://gems.rubyonrails.org", "http://gems.github.com/"]
- REMOTE SOURCES:
- http://gems.rubyforge.org
- http://gems.rubyonrails.org
- http://gems.github.com/
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers