From: Phillip Gawlowski Date: 2011-10-12T04:19:15+09:00 Subject: Re: gem directory not find On Tue, Oct 11, 2011 at 8:40 PM, Sam Porwal wrote: > How I can install gems? I want to install gems. I am able to run all > ruby scripts like test.rb. > > Please help me out. 1.) Download a copy of RubyGems' .tgz release from http://rubyforge.org/frs/?group_id=126&release_id=46225 2.) Extract someplace convenient. 3.) run "ruby setup.rb" in the directory you extracted RubyGems to. This step likely needs root permissions. 4.) Verify RubyGems is installed with "gem -v" (or so). P.S.: IIRC, 1.8.5 and 1.8.6 are EOL, with only 1.8.7 receiving (security) patches for a few more years, so you should upgrade to 1.8.7 at least, and 1.9.2 (which includes RubyGems!) if possible. -- Phillip Gawlowski gplus.to/phgaw | twitter.com/phgaw A method of solution is perfect if we can forsee from the start, and even prove, that following that method we shall attain our aim.               -- Leibniz