From: Corey Jewett Date: 2007-09-01T14:35:24+09:00 Subject: Re: Fail to Install Gems - My First Gems On Aug 31, 2007, at 9:58 PM, Foolish Brat wrote: > Dear all, > > I was trying to install first ruby gems. > I have successfully done the following: > > $ ruby setup.rb config --prefix=/home/mystuff > $ ruby setup.rb setup > > But when I run this command: > > $ ruby setup.rb install > > ...sth.. > As of RubyGems 0.8.0, library stubs are no longer needed. > Searching $LOAD_PATH for stubs to optionally delete (may take a > while)... > ...done. > No library stubs found. > > Consequently I can't install antying like that with Gems. > "gem" command doesn't work. > > $ gem --help > /home/ewijaya/.ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:32:in > `gem_original_require': no such file to load -- sources (LoadError) > from > /home/ewijaya/.ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:32:in > `require' > from > /home/ewijaya/.ruby/lib/ruby/site_ruby/1.8/rubygems/ > source_info_cache.rb:6 You probably need to: $ export GEM_HOME=/home/mystuff/gems Corey