From: Rajinder Yadav Date: 2009-12-27T13:55:09+09:00 Subject: Re: building ruby from source Rilindo Foster wrote: > You can try to add the path to your current gems: > > export PATH=/var/lib/gems/1.8/bin:$PATH > See: is there another location rubygems can be install? I did an ls and found the following entries. should there not be more stuff here bases on my gem list showing?? yadav@KubuntuX64:$ ls -l total 20 -rwxr-xr-x 1 root root 349 2009-11-30 02:36 gpgen -rwxr-xr-x 1 root root 351 2009-11-30 02:49 mongrel_rails -rwxr-xr-x 1 root root 338 2009-11-30 01:09 rackup -rwxr-xr-x 1 root root 339 2009-11-30 01:09 rails -rwxr-xr-x 1 root root 336 2009-11-30 01:08 rake > https://help.ubuntu.com/community/RubyOnRails#Installing RubyGems > > On Dec 26, 2009, at 11:22 PM, Rajinder Yadav wrote: > >> Phillip Gawlowski wrote: >>> On 27.12.2009 05:12, Rajinder Yadav wrote: >>>> I removed my older ruby package from my ubuntu, built ruby from source >>>> successfully. added the sym link from ruby1.8 -> ruby in /usr/bin/ >>>> >>>> however from the IRB I'm getting errors it can't find my gems? how do I >>>> fix this, I assume I need to define some environment variables? >>> http://docs.rubygems.org/read/chapter/3 >>> You need to install RubyGems. >>> -- >>> Phillip Gawlowski >> I already had gems installed? are you telling me I got to repeat the entire process to install gem and then all the gem packages? >> >> yadav@KubuntuX64:$ gem list >> >> *** LOCAL GEMS *** >> >> actionmailer (2.3.5) >> actionpack (2.3.5) >> activerecord (2.3.5) (truncated) -- Kind Regards, Rajinder Yadav http://DevMentor.org Do Good! - Share Freely