From: "Pablo Q." Date: 2009-01-03T01:15:00+09:00 Subject: Re: Problem with gem, after upgrading to 1.3.1 on linux (ubuntu 8.04) ------=_Part_122888_6527140.1230912951137 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thank you very much, now I know that It was due to this specific gem, I just change to the old version of ruby (the one that come with synaptic in Ubuntu) and I was able to see all my gems but I still having problems with this specific gem (net-mdns). Does somebody knows why 'net-mdns' don't work in linux (ubuntu 8.04)?? ~# ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux] ~# gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.1 - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [i486-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8 - RUBY EXECUTABLE: /usr/bin/ruby1.8 - EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /usr/lib/ruby/gems/1.8 - /root/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://gems.rubyforge.org/ ~# gem list *** LOCAL GEMS *** abstract (1.0.0) actionmailer (2.1.0) .... net-mdns (0.4) net-scp (1.0.1) net-sftp (2.0.1) net-ssh (2.0.4) net-ssh-gateway (1.0.0) ... twitter (0.3.7) ~# irb irb(main):001:0> RUBY_VERSION => "1.8.6" irb(main):002:0> require 'rubygems' => true irb(main):003:0> require 'twitter' => true irb(main):004:0> require 'net-mdns' MissingSourceFile: no such file to load -- net-mdns from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in `new_constants_in' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in `require' from (irb):4 irb(main):005:0> Thank you 2009/1/2 Giuseppe Bertini > Based on this page: http://www.rubygems.org/read/chapter/3, I did: > > $ export GEM_HOME=/var/lib/gems/1.8 > $ gem env > > and now rubygems sees all gems. > I'm not a linux guru, though, so I don't know if this is the right way > to go. For one thing, I'm pretty sure that this environment variable > will be lost, should I need to reboot the machine. > > --Giuseppe > -- > Posted via http://www.ruby-forum.com/. > > -- Pablo Q. ------=_Part_122888_6527140.1230912951137--