我的厨师客户端版本是 11.10.0 试图安装刀 EC2
gem install knife-ec2
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/nokogiri-1.6.1/.autotest
我尝试使用其他命令:
sudo /opt/chef/embedded/bin/gem install knife-ec2
Building native extensions. This could take a while...
错误:安装knife-ec2 时出错:错误:无法构建gem 本机扩展。
/opt/chef/embedded/bin/ruby extconf.rb
Extracting libxml2-2.8.0.tar.gz into tmp/x86_64-linux-gnu/ports/libxml2/2.8.0... OK
Running 'configure' for libxml2 2.8.0... OK
Running 'compile' for libxml2 2.8.0... ERROR, review 'tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile .log' to see what happened.
*** extconf.rb failed ***