Skip to content

Instantly share code, notes, and snippets.

@Bregor
Created March 30, 2009 21:16
Show Gist options
  • Save Bregor/87893 to your computer and use it in GitHub Desktop.
Save Bregor/87893 to your computer and use it in GitHub Desktop.
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'net-ssh'
NoMethodError: undefined method `join' for nil:NilClass
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:96:in `lib_dirs_for'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:26:in `initialize'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:25:in `each'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb:25:in `initialize'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:684:in `new'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:684:in `searcher'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:683:in `synchronize'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems.rb:683:in `searcher'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:34:in `require'
from (irb):2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment