2013-03-08 120 views
0

我试图通过配置一个Capistrano的任务刀命令行工具,并运行到一个问题,当它击中以下行运行刀命令

system "knife configure --yes --defaults -s ... -c ... -u ... -r ..." 

它说这个

Could not find net-ssh-2.6.5 in any of the sources 
Run `bundle install` to install missing gems. 

我确实安装了这颗宝石,我相信它配备了厨师。我认为这事做与Capistrano的运行环境

+0

您是如何安装厨师:易,宝石,刀靴? – 2013-03-09 15:40:13

+0

@DracoAter宝石,我在OSX上 – jondavidjohn 2013-03-09 22:56:03

回答

0

卸载厨师:

gem uninstall chef 

,并重新安装它:

gem install chef