[chef] knife ssh cannot load such file -- readline (LoadError)


Chronological Thread 
  • From: Arthur Kalmenson < >
  • To:
  • Subject: [chef] knife ssh cannot load such file -- readline (LoadError)
  • Date: Fri, 2 Mar 2012 17:36:56 -0500
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.216.138.75 as permitted sender) ; dkim=pass

Hello everyone,

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"           
/home/arthur/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `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:in `require'
from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/lib/chef/knife/ssh.rb:28:in `block in <class:Ssh>'
from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/lib/chef/knife.rb:202:in `call'
from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/lib/chef/knife.rb:202:in `load_deps'
from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/lib/chef/knife.rb:163:in `run'
from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/lib/chef/application/knife.rb:128:in `run'
from /home/arthur/.rvm/gems/ruby-1.9.3-p125/gems/chef-0.10.8/bin/knife:25:in `<top (required)>'
from /home/arthur/.rvm/gems/ruby-1.9.3-p125/bin/knife:19:in `load'
from /home/arthur/.rvm/gems/ruby-1.9.3-p125/bin/knife:19:in `<main>'


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,
--
Arthur Kalmenson



Archive powered by MHonArc 2.6.16.

§