Tuesday, July 29, 2008

bin/gem:8:in `require': no such file to load -- rubygems (LoadError)

environment: gem1.2 + ruby1.87
program/bin/gem:8:in `require': no such file to load -- rubygems (LoadError)


solution is:
cp -a ~/program/lib/rubygems ~/program/lib/ruby/1.8/
cp ~/program/lib/rubygems.rb ~/program/lib/ruby/1.8/

No comments: