So, uh, where's my gem?

Z

Zeekar

$ 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...
 
M

Michael Guterl

$ 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...

Try "require 'net/sftp'"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top