Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$ gem list --all
- *** LOCAL GEMS ***
- bundler (1.3.5)
- bundler-unload (1.0.1)
- open4 (1.3.0)
- rake (10.1.0)
- rubygems-bundler (1.2.2)
- rvm (1.11.3.8)
- ssh (1.1.0)
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$ ruby --version
- ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$ gem --version
- 2.0.7
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$ rvm --version
- rvm 1.22.3 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$ which ruby
- /home/thufir/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$ which gem
- /home/thufir/.rvm/rubies/ruby-2.0.0-p247/bin/gem
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$ ruby ssh.rb
- /home/thufir/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- net/ssh (LoadError)
- from /home/thufir/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
- from ssh.rb:3:in `<main>'
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$ head ssh.rb -n 3
- #!/usr/bin/env ruby
- require 'rubygems'
- require 'net/ssh'
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$
- thufir@dur:~/ruby$
Advertisement
Add Comment
Please, Sign In to add comment