Skip to content

Instantly share code, notes, and snippets.

@marbe
Created February 13, 2014 12:39
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 marbe/8974388 to your computer and use it in GitHub Desktop.
Save marbe/8974388 to your computer and use it in GitHub Desktop.
Recipe: passenger_apache2::source
* package[httpd-devel] action install (up to date)
* package[libcurl-devel] action install (up to date)
* package[openssl-devel] action install (up to date)
* package[zlib-devel] action install (up to date)
* gem_package[passenger] action install (up to date)
* execute[passenger_module] action run
================================================================================
Error executing action `run` on resource 'execute[passenger_module]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /usr/local/rvm/rubies/ruby-2.1.0/bin/ruby /usr/local/rvm/gems/ruby-2.1.0/bin/passenger-install-apache2-module _4.0.14_ --auto ----
STDOUT:
STDERR: /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'passenger' (= 4.0.14) among 15 total gem(s) (Gem::LoadError)
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:309:in `to_spec'
from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in `gem'
from /usr/local/rvm/gems/ruby-2.1.0/bin/passenger-install-apache2-module:22:in `<main>'
---- End output of /usr/local/rvm/rubies/ruby-2.1.0/bin/ruby /usr/local/rvm/gems/ruby-2.1.0/bin/passenger-install-apache2-module _4.0.14_ --auto ----
Ran /usr/local/rvm/rubies/ruby-2.1.0/bin/ruby /usr/local/rvm/gems/ruby-2.1.0/bin/passenger-install-apache2-module _4.0.14_ --auto returned 1
Resource Declaration:
---------------------
# In /root/.chef/local-mode-cache/cache/cookbooks/passenger_apache2/recipes/source.rb
50: execute "passenger_module" do
51: command "#{node['languages']['ruby']['ruby_bin']} #{node['passenger']['root_path']}/bin/passenger-install-apache2-module _#{node['passenger']['version']}_ --auto"
52: creates node['passenger']['module_path']
53: end
Compiled Resource:
------------------
# Declared in /root/.chef/local-mode-cache/cache/cookbooks/passenger_apache2/recipes/source.rb:50:in `from_file'
execute("passenger_module") do
action "run"
retries 0
retry_delay 2
command "/usr/local/rvm/rubies/ruby-2.1.0/bin/ruby /usr/local/rvm/gems/ruby-2.1.0/bin/passenger-install-apache2-module _4.0.14_ --auto"
backup 5
creates "/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/gems/2.1.0/gems/passenger-4.0.14/buildout/apache2/mod_passenger.so"
returns 0
cookbook_name "passenger_apache2"
recipe_name "source"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment