我可以手动运行bundle install
并恢复正常,但是当我让 Puppet 提供一个 Vagrant 框时,这会发生第二次(第一次我得到成功的输出)。
[default] Running provisioner: Vagrant::Provisioners::Puppet...
[default] Running Puppet with /tmp/vagrant-puppet/manifests/default.pp...
stdin: is not a tty
/opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:900:in `report_activate_error': Could not find RubyGem puppet (>= 0) (Gem::LoadError)
from /opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from /opt/vagrant_ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1276:in `gem'
from /opt/vagrant_ruby/bin/puppet:18
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
我没有在任何地方请求 puppet gem,它不在我的 Gemfile 中,我的清单也不需要它。为什么要寻找 puppet gem,我该如何摆脱这个错误?