On Tue, Nov 20, 2012 at 10:02 AM, johnny mo <lists / ruby-forum.com> wrote:
> hi,
>
> Thanks for looking into this.
>
> $ which ruby
> /home/jacky/.rvm/bin/ruby
> $ which gem
> /usr/bin/gem

This looks suspicious: why do you have a /usr/bin/gem but not a /usr/bin/ruby?

> $ ls -l /usr/bin/gem
> /usr/bin/gem -> /home/jacky/.rvm/rubies/ruby-1.9.3-p194/bin/gem
>
> So I changed the softlink /usr/bin/gem to point to
> /home/jacky/.rvm/bin/gem

I'd probably rather remove /usr/bin/gem completely.  Somehow you seem
to be mixing installations.  What OS and distribution is this and what
did you do to install ruby?

Cheers

robert

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/