From: Walton Hoops Date: 2009-12-27T16:42:17+09:00 Subject: Re: building ruby from source On 12/26/2009 9: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 *** I am about 75% sure you have rubygems installed through Ubuntu. I bet if you do 'sudo apt-get remove rubygems' (I think that's right) you'll see what I mean. This Debian distro of rubygems won't work with the source distro of Ruby (at least not easily). You'll need to remove the one installed through apt and install from source as mentioned above.