Skip to content

Instantly share code, notes, and snippets.

@valachi
Created July 26, 2012 15:37
Show Gist options
  • Save valachi/3182771 to your computer and use it in GitHub Desktop.
Save valachi/3182771 to your computer and use it in GitHub Desktop.
rvm 1.14.7 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
[Thu, 26 Jul 2012 17:28:17 +0200] INFO: bash[RVM Multi-User installing] ran successfully
[Thu, 26 Jul 2012 17:28:17 +0200] INFO: Processing bash[Updating rvm] action run (install_rvm_with_ruby_stable::default line 17)
RVM reloaded!
[Thu, 26 Jul 2012 17:28:18 +0200] INFO: bash[Updating rvm] ran successfully
[Thu, 26 Jul 2012 17:28:18 +0200] INFO: Processing bash[Installing 1.8.7] action run (install_rvm_with_ruby_stable::default line 23)
Already installed ruby-1.8.7-p370.
To reinstall use:
rvm reinstall 1.8.7
[Thu, 26 Jul 2012 17:28:18 +0200] INFO: bash[Installing 1.8.7] ran successfully
[Thu, 26 Jul 2012 17:28:18 +0200] INFO: Processing bash[Installing 1.9.3] action run (install_rvm_with_ruby_stable::default line 23)
Already installed ruby-1.9.3-p194.
To reinstall use:
rvm reinstall 1.9.3
[Thu, 26 Jul 2012 17:28:18 +0200] INFO: bash[Installing 1.9.3] ran successfully
[Thu, 26 Jul 2012 17:28:18 +0200] INFO: Processing bash[Setting default ruby to 1.9.3] action run (install_rvm_with_ruby_stable::default line 28)
[Thu, 26 Jul 2012 17:28:18 +0200] INFO: bash[Setting default ruby to 1.9.3] ran successfully
[Thu, 26 Jul 2012 17:28:18 +0200] INFO: Processing execute[Installing rubygems] action run (install_rvm_with_ruby_stable::default line 32)
Removing old Rubygems files...
Installing rubygems-1.8.24 for system ...
Installation of rubygems did not complete successfully.
[Thu, 26 Jul 2012 17:28:19 +0200] ERROR: execute[Installing rubygems] (install_rvm_with_ruby_stable::default line 32) has had an error
[Thu, 26 Jul 2012 17:28:19 +0200] ERROR: execute[Installing rubygems] (/var/chef/cache/cookbooks/install_rvm_with_ruby_stable/recipes/default.rb:32:in `from_file') had an error:
execute[Installing rubygems] (install_rvm_with_ruby_stable::default line 32) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127'
---- Begin output of /usr/local/rvm/bin/rvm rubygems current ----
STDOUT: Removing old Rubygems files...
Installing rubygems-1.8.24 for system ...
Installation of rubygems did not complete successfully.
STDERR: Error running 'GEM_PATH=":@global" GEM_HOME="" "/usr/local/rvm/rubies/system/bin/ruby" "/usr/local/rvm/src/rubygems-1.8.24/setup.rb"', please read /usr/local/rvm/log/system/rubygems.install.log
---- End output of /usr/local/rvm/bin/rvm rubygems current ----
Ran /usr/local/rvm/bin/rvm rubygems current returned 127
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.0.0/lib/mixlib/shellout.rb:242:in `invalid!'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.0.0/lib/mixlib/shellout.rb:228:in `error!'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/mixin/shell_out.rb:36:in `shell_out!'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/provider/execute.rb:58:in `action_run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource.rb:454:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:49:in `run_action'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `block (2 levels) in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `each'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:85:in `block in converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection.rb:94:in `block in execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/resource_collection.rb:92:in `execute_each_resource'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/runner.rb:80:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/client.rb:330:in `converge'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/client.rb:163:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/client.rb:254:in `block in run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/client.rb:241:in `loop'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application/client.rb:241:in `run_application'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/lib/chef/application.rb:70:in `run'
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-10.12.0/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19:in `<main>'
[Thu, 26 Jul 2012 17:28:19 +0200] ERROR: Running exception handlers
[Thu, 26 Jul 2012 17:28:19 +0200] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[Thu, 26 Jul 2012 17:28:19 +0200] ERROR: Exception handlers complete
[Thu, 26 Jul 2012 17:28:19 +0200] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[Thu, 26 Jul 2012 17:28:19 +0200] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[Installing rubygems] (install_rvm_with_ruby_stable::default line 32) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '127'
---- Begin output of /usr/local/rvm/bin/rvm rubygems current ----
STDOUT: Removing old Rubygems files...
Installing rubygems-1.8.24 for system ...
Installation of rubygems did not complete successfully.
STDERR: Error running 'GEM_PATH=":@global" GEM_HOME="" "/usr/local/rvm/rubies/system/bin/ruby" "/usr/local/rvm/src/rubygems-1.8.24/setup.rb"', please read /usr/local/rvm/log/system/rubygems.install.log
---- End output of /usr/local/rvm/bin/rvm rubygems current ----
Ran /usr/local/rvm/bin/rvm rubygems current returned 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment