Open hfeeki opened 11 years ago
After I do this:
sed -i '$d' /root/.profile
cat << 'EOH' >> /root/.profile
if `tty -s`; then
mesg n
fi
EOH
The error becomes(just "stdin: is not a tty" dispear) :
[default] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default] Generating chef JSON and uploading...
[default] Running chef-solo...
Invalid gemspec in [/opt/ruby/lib/ruby/gems/1.8/specifications/mixlib-shellout-1.1.0.gemspec]: invalid date format in specification: "2012-08-06 00:00:00.000000000Z"
/opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require': no such file to load -- mixlib/shellout/exceptions (LoadError)
from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.2.0/bin/../lib/chef/exceptions.rb:26
from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.2.0/bin/../lib/chef.rb:22
from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.2.0/bin/../lib/chef/application/solo.rb:19
from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require'
from /opt/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:53:in `require'
from /opt/ruby/lib/ruby/gems/1.8/gems/chef-11.2.0/bin/chef-solo:23
from /opt/ruby/bin/chef-solo:19:in `load'
from /opt/ruby/bin/chef-solo:19
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Next is the error message: