views:

132

answers:

2

Hi guys

I just installed rvm and after that i installed ruby1.9.2. i have a problem with installing gems.

I get the following error when doing: gem install capistrano no such file to load -- rubygems

This is how i set it up (its ubuntu): ruby -v ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] gem -v no such file to load -- rubygems

somebody any idea how to fix this ?

--- EDIT----
ok so i tried to fix it by uninstalling ruby and installing it again.
But no luck! :(
rvm remove 1.9.2 ; rvm install 1.9.2

doesn't work..

A: 

See rubygems FAQ, chapter 19, p98: http://docs.rubygems.org/read/chapter/19#page98

When I run the gem command, I get the following error message:

    ruby: No such file to load -- rubygems (LoadError)
The MYYN
thanxs! but not really helpful. It just states that there should be a rubygems.rb file .. and there isn't...
A: 

Ok so to solve this problem i did the following. Login to my ec2 management console.. selected the image and deleted it!

Then started new ubuntu image. run some commands.. and voila problem solved.

For people who have the same problem. I am sorry but i don't have the answer. I just gave up (after hours of searching and trying etc. etc. ).