I tried to run this test file (test.rb): #test.rb
require ‘rubygem’
require ‘net-mdns’
~#ruby test.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- net-mdns (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require’
from test.rb:2
I don’t know what to do… I have built the ruby and gem from the source
but
I don’t know how to uninstall it… make file doesn’t have uninstall
option
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.
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)??
~# 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>