RubyGems nightmare due to 2 installs

A

Adam Wilson

I have a recurring problem with my RubyGems install atm.... actually
there are 2 of them, one in /usr/local/lib and the other in /usr/lib

I think it ended up that way after upgrading ruby to 1.8.6.

I have somehow managed to get around problems, but each time I start a
new Rails project, on the server it gives me this error (usuallly on
rake):

Rails requires RubyGems >= 1.3.1 (you have 1.3.0). Please `gem update
--system` and try again.

Everytime I try and install it installs in /usr/local/ ... which is
obviously not where Rails is looking.
I have tried a few things, searched here and googled, but nothing I try
seems to work so far..

Any tips much appreciated, need to squash this problem once and for all,
without risking currently running rails sites.

Many thanks
 

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,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top