tags:

views:

222

answers:

2

hi all

I'm having problems when issuing 'gem' command

I have both rubygems1.8 and rubygems1.9 my rails version is rails-2.3.3 my ruby ruby 1.8.7 and i'm on linux

my problem is i cant issue 'gem install ' , instead i have to give 'gem1.8 install '

can anyone tell me why is that ??

thanks in advance

cheers sameera

+1  A: 

Because you installed two different versions and they can't both be named "gem."

Azeem.Butt
+3  A: 

Create a symbolic link to gem1.8

ln /usr/bin/gem1.8 /usr/bin/gem
KramerC
Hi Campbellworks perfectly :D, thanks a lot... :DDDsameera
sameera207
Hi KramerC,thanks for the help, and I wrote a little blog post on how do thishttp://dothingssimple.wordpress.com/2010/03/16/undefined-method-manage_gems-for-gemmodule-nomethoderror/hope this helps someone in futurecheers,sameera
sameera207