From: michael greenly Date: 2007-12-28T12:07:51+09:00 Subject: Re: gem on ubuntu problem : /usr/local/lib/site_ruby/1.8/rubygem ------=_Part_16430_23649551.1198811274936 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Something doesn't add up. It's looking in /usr/local. It looks to me like you've either done a 'gem update --system' or tried to install gems from source at some point. Regardless removing it and reinstalling it should fix the problem. This should remove it $> sudo apt-get remove --purge rubygems Then you're free to install from source or from apt $> sudo apt-get install rubygems On Dec 27, 2007 11:43 AM, Jp Jp wrote: > Hi all, > > I've got a serious problem installing gem on my ubuntu. i used the > apt-get manager. > > here is what i get when i try to launch gem : > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require': no such file to load -- sources (LoadError) > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' > from > /usr/local/lib/site_ruby/1.8/rubygems/source_info_cache.rb:6 > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' > from > /usr/local/lib/site_ruby/1.8/rubygems/remote_installer.rb:12 > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' > from /usr/local/lib/site_ruby/1.8/rubygems.rb:112:in > `manage_gems' > from /usr/bin/gem:10 > > even whe I add a "require 'rubygems/gem_runner'" in /usr/bin/gem, same > error (but last line number is 11). > > > > what can I do ? > -- > Posted via http://www.ruby-forum.com/. > > -- Michael Greenly ------=_Part_16430_23649551.1198811274936--