Skip to content

Instantly share code, notes, and snippets.

@alouanemed
Last active August 29, 2015 14:10
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 alouanemed/8f6a47fe1313869148bd to your computer and use it in GitHub Desktop.
Save alouanemed/8f6a47fe1313869148bd to your computer and use it in GitHub Desktop.
=> default: [2014-12-03T13:50:21+00:00] INFO: file[/var/lib/apt/periodic/update-success-stamp] deleted file at /var/lib/apt/periodic/update-success-stamp
==> default: [2014-12-03T13:50:21+00:00] INFO: file[/etc/apt/sources.list.d/node.js.list] sending run action to execute[apt-get update] (immediate)
==> default: [2014-12-03T13:50:27+00:00] INFO: execute[apt-get update] ran successfully
==> default: [2014-12-03T13:50:27+00:00] INFO: execute[apt-get update] sending run action to execute[apt-cache gencaches] (immediate)
==> default: [2014-12-03T13:50:28+00:00] INFO: execute[apt-cache gencaches] ran successfully
==> default: [2014-12-03T13:51:52+00:00] INFO: package[ncurses-dev] is a virtual package, actually acting on package[libncurses5-dev]
==> default: [2014-12-03T13:52:46+00:00] INFO: git[/var/chef/cache/ruby-build] cloning repo https://github.com/sstephenson/ruby-build.git to /var/chef/cache/ruby-build
==> default: [2014-12-03T13:53:02+00:00] INFO: git[/var/chef/cache/ruby-build] checked out branch: master reference: 545692836e0b5690212ad30f0edc45695b23ceaf
==> default: [2014-12-03T13:53:02+00:00] INFO: git[/var/chef/cache/ruby-build] sending run action to execute[Install ruby-build] (immediate)
==> default: [2014-12-03T13:53:02+00:00] INFO: execute[Install ruby-build] ran successfully
==> default: [2014-12-03T13:53:02+00:00] INFO: template[/etc/profile.d/rbenv.sh] created file /etc/profile.d/rbenv.sh
==> default: [2014-12-03T13:53:02+00:00] INFO: template[/etc/profile.d/rbenv.sh] updated file contents /etc/profile.d/rbenv.sh
==> default: [2014-12-03T13:53:02+00:00] INFO: template[/etc/profile.d/rbenv.sh] owner changed to 0
==> default: [2014-12-03T13:53:02+00:00] INFO: template[/etc/profile.d/rbenv.sh] mode changed to 755
==> default: [2014-12-03T13:53:09+00:00] INFO: git[/home/vagrant/.rbenv] cloning repo git://github.com/sstephenson/rbenv.git to /home/vagrant/.rbenv
==> default: [2014-12-03T13:53:16+00:00] INFO: git[/home/vagrant/.rbenv] checked out branch: master reference: 7e0e85bdda092d94aef0374af720682c6ea8999d
==> default: [2014-12-03T13:53:17+00:00] INFO: bash[Initialize rbenv (vagrant)] ran successfully
==> default: [2014-12-03T13:53:17+00:00] INFO: rbenv-post-init-vagrant
==> default: [2014-12-03T13:53:17+00:00] INFO: Building rbenv_ruby[2.1.3 (vagrant)] (vagrant), this could take a while...
==> default: [2014-12-03T13:59:30+00:00] INFO: Running queued delayed notifications before re-raising exception
==> default: [2014-12-03T13:59:30+00:00] ERROR: Running exception handlers
==> default: [2014-12-03T13:59:30+00:00] ERROR: Exception handlers complete
==> default: [2014-12-03T13:59:30+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2014-12-03T13:59:30+00:00] ERROR: script[rbenv install 2.1.3 (vagrant)] (/tmp/vagrant-chef-3/chef-solo-2/cookbooks/rbenv/providers/script.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of "bash" "/tmp/chef-script20141203-5380-1i4unap" ----
==> default: STDOUT:
==> default: STDERR: rbenv: version `global' not installed
==> default: Downloading ruby-2.1.3.tar.gz...
==> default: -> http://dqw8nmjcqpjn7.cloudfront.net/0818beb7b10ce9a058cd21d85cfe1dcd233e98b7342d32e9a5d4bebe98347f01
==> default: Installing ruby-2.1.3...
==> default:
==> default: BUILD FAILED (Ubuntu 14.04 using ruby-build 20141128)
==> default:
==> default: Inspect or clean up the working tree at /tmp/ruby-build.20141203135317.13736
==> default: Results logged to /tmp/ruby-build.20141203135317.13736.log
==> default:
==> default: Last 10 log lines:
==> default: rake 10.1.0
==> default: rdoc 4.1.0
==> default: test-unit 2.1.3.0
==> default: installing rdoc: /home/vagrant/.rbenv/versions/2.1.3/share/ri/2.1.0/system
==> default: installing capi-docs: /home/vagrant/.rbenv/versions/2.1.3/share/doc/ruby
==> default: The Ruby openssl extension was not compiled. Missing the OpenSSL lib?
==> default: Configure options used:
==> default: --prefix=/home/vagrant/.rbenv/versions/2.1.3
==> default: LDFLAGS=-L/home/vagrant/.rbenv/versions/2.1.3/lib
==> default: CPPFLAGS=-I/home/vagrant/.rbenv/versions/2.1.3/include
==> default: ---- End output of "bash" "/tmp/chef-script20141203-5380-1i4unap" ----
==> default: Ran "bash" "/tmp/chef-script20141203-5380-1i4unap" returned 1
==> default:
==> default: ================================================================================
==> default: Error executing action `run` on resource 'script[rbenv install 2.1.3 (vagrant)]'
==> default: ================================================================================
==> default:
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of "bash" "/tmp/chef-script20141203-5380-1i4unap" ----
==> default: STDOUT:
==> default: STDERR: rbenv: version `global' not installed
==> default: Downloading ruby-2.1.3.tar.gz...
==> default: -> http://dqw8nmjcqpjn7.cloudfront.net/0818beb7b10ce9a058cd21d85cfe1dcd233e98b7342d32e9a5d4bebe98347f01
==> default: Installing ruby-2.1.3...
==> default:
==> default: BUILD FAILED (Ubuntu 14.04 using ruby-build 20141128)
==> default:
==> default: Inspect or clean up the working tree at /tmp/ruby-build.20141203135317.13736
==> default: Results logged to /tmp/ruby-build.20141203135317.13736.log
==> default:
==> default: Last 10 log lines:
==> default: rake 10.1.0
==> default: rdoc 4.1.0
==> default: test-unit 2.1.3.0
==> default: installing rdoc: /home/vagrant/.rbenv/versions/2.1.3/share/ri/2.1.0/system
==> default: installing capi-docs: /home/vagrant/.rbenv/versions/2.1.3/share/doc/ruby
==> default: The Ruby openssl extension was not compiled. Missing the OpenSSL lib?
==> default: Configure options used:
==> default: --prefix=/home/vagrant/.rbenv/versions/2.1.3
==> default: LDFLAGS=-L/home/vagrant/.rbenv/versions/2.1.3/lib
==> default: CPPFLAGS=-I/home/vagrant/.rbenv/versions/2.1.3/include
==> default: ---- End output of "bash" "/tmp/chef-script20141203-5380-1i4unap" ----
==> default: Ran "bash" "/tmp/chef-script20141203-5380-1i4unap" returned 1
==> default:
==> default:
==> default: Resource Declaration:
==> default: ---------------------
==> default: # In /tmp/vagrant-chef-3/chef-solo-2/cookbooks/rbenv/providers/script.rb
==> default:
==> default: 28: script new_resource.name do
==> default: 29: interpreter "bash"
==> default: 30: code script_code
==> default: 31: user new_resource.user if new_resource.user
==> default: 32: creates new_resource.creates if new_resource.creates
==> default: 33: cwd new_resource.cwd if new_resource.cwd
==> default: 34: group new_resource.group if new_resource.group
==> default: 35: path new_resource.path if new_resource.path
==> default: 36: returns new_resource.returns if new_resource.returns
==> default: 37: timeout new_resource.timeout if new_resource.timeout
==> default: 38: umask new_resource.umask if new_resource.umask
==> default: 39: environment(script_environment)
==> default: 40: end
==> default: 41:
==> default:
==> default:
==> default:
==> default: Compiled Resource:
==> default: ------------------
==> default: # Declared in /tmp/vagrant-chef-3/chef-solo-2/cookbooks/rbenv/providers/script.rb:28:in `block in class_from_file'
==> default:
==> default: script("rbenv install 2.1.3 (vagrant)") do
==> default: action "run"
==> default: retries 0
==> default: retry_delay 2
==> default: command "\"bash\" \"/tmp/chef-script20141203-5380-1i4unap\""
==> default: backup 5
==> default: environment {"RBENV_ROOT"=>"/home/vagrant/.rbenv", "USER"=>"vagrant", "HOME"=>"/home/vagrant"}
==> default: returns [0]
==> default: user "vagrant"
==> default: code "export RBENV_ROOT=\"/home/vagrant/.rbenv\"\nexport PATH=\"${RBENV_ROOT}/bin:$PATH\"\neval \"$(rbenv init -)\"\n\nrbenv shell global\n\nrbenv install 2.1.3\n"
==> default: interpreter "bash"
==> default: cookbook_name :rbenv
==> default: end
==> default:
==> default:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment