fnichol/chef-ruby_build — Issue #1: Fails with FATAL: NameError: uninitialized constant Chef::Rbenv::ScriptHelpers
Author: boy-jer
Created: 2011-12-22 01:18:27+00:00
State: open

Thanks for this chef-ruby_build cookbook but when i run it falls. The stack-trace of the error is shown below.

[Thu, 22 Dec 2011 01:07:32 +0000] INFO: *** Chef 0.10.8 ***
[Thu, 22 Dec 2011 01:07:35 +0000] INFO: Setting the run_list to ["recipe[chef-ruby_build::default]"] from JSON
[Thu, 22 Dec 2011 01:07:35 +0000] INFO: Run List is [recipe[chef-ruby_build::default]]
[Thu, 22 Dec 2011 01:07:35 +0000] INFO: Run List expands to [chef-ruby_build::default]
[Thu, 22 Dec 2011 01:07:35 +0000] INFO: Starting Chef Run for dav.localdomain
[Thu, 22 Dec 2011 01:07:35 +0000] INFO: Running start handlers
[Thu, 22 Dec 2011 01:07:35 +0000] INFO: Start handlers complete.
[Thu, 22 Dec 2011 01:07:35 +0000] WARN: Missing gem 'right_aws'
[Thu, 22 Dec 2011 01:07:35 +0000] ERROR: Running exception handlers
[Thu, 22 Dec 2011 01:07:35 +0000] ERROR: Exception handlers complete
[Thu, 22 Dec 2011 01:07:35 +0000] FATAL: Stacktrace dumped to /var/chef-solo/chef-stacktrace.out
[Thu, 22 Dec 2011 01:07:35 +0000] FATAL: NameError: uninitialized constant Chef::Rbenv::ScriptHelpers

/var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:42:in `'
/var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:25:in `'
/var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:24:in `'
/var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:23:in `'
/var/chef-solo/cookbooks/chef-rbenv/libraries/chef_provider_package_rbenvrubygems.rb:22:in `'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:82:in `load'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:82:in `block in load_libraries'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:120:in `call'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:120:in `block (2 levels) in foreach_cookbook_load_segment'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:119:in `each'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:119:in `block in foreach_cookbook_load_segment'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:117:in `each'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:117:in `foreach_cookbook_load_segment'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:80:in `load_libraries'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/run_context.rb:57:in `load'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:195:in `setup_run_context'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/client.rb:159:in `run'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:192:in `block in run_application'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `loop'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application/solo.rb:183:in `run_application'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/lib/chef/application.rb:67:in `run'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.8/bin/chef-solo:25:in `'
/usr/bin/chef-solo:19:in `load'
/usr/bin/chef-solo:19:in `

'