On Sep 11, 1:18 pm, Annapoorna R <prapoorn...@gmail.com> wrote: > hi > how to install rubygems after installing ruby1.8.7 > installed rubygems also with following commands > > wget -chttp://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz > tar -xvzf rubygems-1.3.1.tgz > cd rubygems-1.3.1 > sudo /opt/ruby-1.8.7-p72/bin/ruby setup.rb > after this once i gave sudo gem update > sudo: unable to execute /usr/local/bin/gem: No such file or directory > ... > even same for gem -v..
Sounds to me to like PATH problems to me - I'd check that your new ruby install is ahead of the existing one in your path (and don't forget that sudo cleans up environment variables like PATH before it runs) Fred -- 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.