Topic: RVM and rubygem error: (NameError) uninitialized constant

I had just done "rvm rubygems 1.3.5" and "gem install rails -v 2.2.2", and both worked correctly and I was able to use rails for awhile.

Now it seems like rails and rubygems just suddenly disappeared, so I reinstalled rubygem, but now trying to reinstall rails, I'm getting "ERROR: While executing gem ... (NameError) uninitialized constant gem::Installer::ENV_PATHS"

I get the same error when trying to do "gem update --system"

Would appreciate any help.

And my "gem list" shows "rails(2.2.2)"

I'm trying to find other people with similar issues, and looks like it might have something to do with GEM PATH but I'm not sure where to go from there. In "gem environment" I get this for GEM PATHS:
~/.rvm/gems/ruby-1.8.7-p371
~/.rvm/gems/ruby-1.8.7-p371@global

Last edited by rubyondine (2013-02-25 03:23:41)