gem update --system, now my local gems are missing

A

Andy Koch

hi,

I just did a "gem update --system" to 0.9.5, but now when I do "gem
list" I get nothing.

The gems are still there, I can "ls" them.

I seem to recall seeing other people have this issue, but I don't recall
the fix. Nor is my googling turning up anything useful.

thanks
 
A

Andy Koch

Andy said:
hi,

I just did a "gem update --system" to 0.9.5, but now when I do "gem
list" I get nothing.

The gems are still there, I can "ls" them.

I seem to recall seeing other people have this issue, but I don't recall
the fix. Nor is my googling turning up anything useful.

thanks

I think I see my problem,

my gems are in '/var/lib/gems/1.8/gems/'

but now gem is looking in '/usr/lib/ruby/gems/1.8/'

so I exported GEM_HOME in my .bashrc to my place.

probably the real problem is that I've got a Debian that had rubygems
installed from package, but now I just ran roughshod over that install...
 
E

Eric Hodel

I think I see my problem,

my gems are in '/var/lib/gems/1.8/gems/'

but now gem is looking in '/usr/lib/ruby/gems/1.8/'

so I exported GEM_HOME in my .bashrc to my place.

probably the real problem is that I've got a Debian that had
rubygems installed from package, but now I just ran roughshod over
that install...

Yup. Don't do that. If you didn't install RubyGems yourself, don't
upgrade it yourself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top