thufir

Untitled

Aug 27th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. thufir@dur:~/ruby$
  2. thufir@dur:~/ruby$
  3. thufir@dur:~/ruby$
  4. thufir@dur:~/ruby$ gem list --all
  5.  
  6. *** LOCAL GEMS ***
  7.  
  8. bundler (1.3.5)
  9. bundler-unload (1.0.1)
  10. open4 (1.3.0)
  11. rake (10.1.0)
  12. rubygems-bundler (1.2.2)
  13. rvm (1.11.3.8)
  14. ssh (1.1.0)
  15. thufir@dur:~/ruby$
  16. thufir@dur:~/ruby$ ruby --version
  17. ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
  18. thufir@dur:~/ruby$
  19. thufir@dur:~/ruby$ gem --version
  20. 2.0.7
  21. thufir@dur:~/ruby$
  22. thufir@dur:~/ruby$ rvm --version
  23.  
  24. rvm 1.22.3 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
  25.  
  26. thufir@dur:~/ruby$
  27. thufir@dur:~/ruby$ which ruby
  28. /home/thufir/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
  29. thufir@dur:~/ruby$
  30. thufir@dur:~/ruby$ which gem
  31. /home/thufir/.rvm/rubies/ruby-2.0.0-p247/bin/gem
  32. thufir@dur:~/ruby$
  33. thufir@dur:~/ruby$ ruby ssh.rb
  34. /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)
  35. 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'
  36. from ssh.rb:3:in `<main>'
  37. thufir@dur:~/ruby$
  38. thufir@dur:~/ruby$ head ssh.rb -n 3
  39. #!/usr/bin/env ruby
  40. require 'rubygems'
  41. require 'net/ssh'
  42. thufir@dur:~/ruby$
  43. thufir@dur:~/ruby$
  44. thufir@dur:~/ruby$
Advertisement
Add Comment
Please, Sign In to add comment