Hi Guys

I also faced the same problem but i fixed the issue by the following 
steps:

Go to the below directory and you can find "update_rubygems" file which 
needs to be executed then it will update the gem version 1.3.5.

cd ~/.gem/ruby/1.8/bin/
./update_rubygems

If gem is updated then you have to install rails too since its new 
version and it removes the old version local repositary.

Please guide us if i am doing the wrong way....

Thanks
Gopi


heimdull wrote:
> That is because you have more than one Ruby installation and when you
> installed your RubyGems 1.3.5 it was not installed in the global Ruby
> install and rather your local install.
> 
> Try running a few which gem and which ruby commands to hunt down the
> issue. You might also have to look at your path to figure this out.
> 
> Just as an example on one of my servers I have the normal /usr/local/
> bin/ruby install but I also have /opt/ruby-enterprise/bin/ruby which
> is what I use and I have to make sure this is in the front of my path
> or else I might install a gem under the wrong directory...
> 
> This does the trick:
> export PATH=/opt/ruby-enterprise/bin:$PATH

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to