I was listening to the latest Food Fight podcast (enjoy it, btw) and they
were talking about knife ssh. I haven’t really looked at it yet, so I
figured now was a good time. However, as soon as I ran any knife ssh
command, I got this:
$ knife ssh “role:experimental” “uptime”
require': cannot load such file -- readline (LoadError) from /home/arthur/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire’
block in <class:Ssh>' from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/lib/chef/knife.rb:202:incall’
load_deps' from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/lib/chef/knife.rb:163:inrun’
run' from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/bin/knife:25:in<top (required)>'
load' from /home/arthur/.rvm/gems/ruby-1.9.3-p125/bin/knife:19:in’
I thought it might have to do with using the latest ruby 1.9.3, so I tried
it out in 1.9.2 but I got the same error. Google doesn’t really give me
much here, so I’m wondering if any has seen this before. Thanks!
All the best,