On Sat, Aug 1, 2009 at 10:24 AM, Gavin<ga...@thinkersplayground.com> wrote:

> I installed FXRuby today using macports and i believe it's installed
> another copy of Ruby in /opt/local/bin/ruby
>
> ls -l `which ruby` # => -rwxr-xr-x   2 root  admin  13412 Aug  1
> 16:50 /opt/local/bin/ruby
> cat 'which gem` | head -n 1 # => #!/usr/local/bin/ruby
>
> This means that when I try to start up irb or write ruby in TextMate,
> none of my gems can be found.

> can anybody advise how can I sort this screw-up please !?

1) remove the new version
2) re-install your gems using the new version
3) fix your PATH so `which ruby` returns your original version

I'd go with door #3, personally :-)

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
twitter: @hassan

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to