Skip to content

Instantly share code, notes, and snippets.

@tarky
Created November 12, 2014 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarky/bbf6e4d950d7de2dcd0d to your computer and use it in GitHub Desktop.
Save tarky/bbf6e4d950d7de2dcd0d to your computer and use it in GitHub Desktop.
Error if bundle install by chef
==> default: [2014-11-12T06:17:45+00:00] ERROR: execute[/usr/local/bin/bundle install] (mimic_opsworks::link_local line 7) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of /usr/local/bin/bundle install ----
==> default: STDOUT:
==> default: STDERR: /opt/aws/opsworks/local/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/definition.rb:23:in `build': /opt/aws/opsworks/releases/20140703152143_316/Gemfile not found (Bundler::GemfileNotFound)
==> default: from /opt/aws/opsworks/local/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler.rb:152:in `definition'
==> default: from /opt/aws/opsworks/local/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler.rb:115:in `setup'
==> default: from /opt/aws/opsworks/local/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/setup.rb:17:in `<top (required)>'
==> default: from /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
==> default: from /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
==> default: ---- End output of /usr/local/bin/bundle install ----
==> default: Ran /usr/local/bin/bundle install returned 1
==> default: [2014-11-12T06:17:45+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment