$ sudo gem install net-sftp
Successfully installed net-sftp-2.0.1
1 gem installed
Installing ri documentation for net-sftp-2.0.1…
Installing RDoc documentation for net-sftp-2.0.1…
$ irb -rubygems -rnet-sftp
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require': no such file to load -- net-sftp (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in
require’
from /usr/lib/ruby/1.8/irb/init.rb:252:in load_modules' from /usr/lib/ruby/1.8/irb/init.rb:250:in
each’
from /usr/lib/ruby/1.8/irb/init.rb:250:in load_modules' from /usr/lib/ruby/1.8/irb/init.rb:21:in
setup’
from /usr/lib/ruby/1.8/irb.rb:54:in `start’
from /usr/bin/irb:13
$ ri net-sftp
Nothing known about net-sftp
Can anyone help me figure out where my gem wound up? I’ve confirmed
that gem and irb and ri are all pointing at the same Ruby install
tree…