Installing 0.9.6 on CentOS 5.4

I am trying to install chef 0.9.6 on the CentOS 5.4 environment. I’ve manually
installed couchdb, erlang and rabbitmq and now trying to bootstrap chef ruby
gems.
I’ve commented out the rubbitmq java and couchdb recepies from the chef bootrap
cookbook (because I’ve some problem with erlan package) and now I’m trying to
run the cookbook but getting the following error:
[Sun, 18 Jul 2010 09:51:34 -0400] INFO: Installing gem_package[chef-server-api]
version 0.9.6
[Sun, 18 Jul 2010 09:51:34 -0400] ERROR: gem_package[chef-server-api]
(/root/chef/chef-solo/cookbooks/chef/recipes/bootstrap_server.rb:74:in
from_file') had an error: undefined methodruntime_dependencies’ for nil:NilClass
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:181:in
tsort_each_child' /usr/local/lib/ruby/1.8/tsort.rb:204:ineach_strongly_connected_component_from’
/usr/local/lib/ruby/1.8/tsort.rb:183:in each_strongly_connected_component' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:175:ineach’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:175:in
tsort_each_node' /usr/local/lib/ruby/1.8/tsort.rb:181:ineach_strongly_connected_component’
/usr/local/lib/ruby/1.8/tsort.rb:165:in strongly_connected_components' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:69:independency_order’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:169:in
gather_dependencies' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:245:ininstall’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/provider/package/rubygems.rb:153:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:176:inwith_correct_verbosity’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/provider/package/rubygems.rb:152:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:87:inwith_gem_sources’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/provider/package/rubygems.rb:151:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:398:ininstall_package’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/provider/package.rb:60:in
action_install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:50:insend’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/runner.rb:50:in
run_action' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:107:inconverge’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/runner.rb:106:in
each' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:106:inconverge’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/resource_collection.rb:94:in
execute_each_resource' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/resource_collection/stepable_iterator.rb:116:in
call_iterator_block' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:instep’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/resource_collection/stepable_iterator.rb:104:in
iterate' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/resource_collection.rb:92:in
execute_each_resource' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:80:inconverge’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/client.rb:334:in
converge' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/client.rb:86:inrun’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/application/solo.rb:193:in
run_application' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application/solo.rb:185:inloop’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/…/lib/chef/application/solo.rb:185:in
run_application' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application.rb:62:inrun’
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/chef-solo:25
./bin/chef-solo:19:in `load’
./bin/chef-solo:19

On Sun, Jul 18, 2010 at 3:28 AM, shulmanb@gmail.com wrote:

I am trying to install chef 0.9.6 on the CentOS 5.4 environment. I've manually
installed couchdb, erlang and rabbitmq and now trying to bootstrap chef ruby
gems.
I've commented out the rubbitmq java and couchdb recepies from the chef bootrap
cookbook (because I've some problem with erlan package) and now I'm trying to
run the cookbook but getting the following error:
[Sun, 18 Jul 2010 09:51:34 -0400] INFO: Installing gem_package[chef-server-api]
version 0.9.6
[Sun, 18 Jul 2010 09:51:34 -0400] ERROR: gem_package[chef-server-api]
(/root/chef/chef-solo/cookbooks/chef/recipes/bootstrap_server.rb:74:in
from_file') had an error: undefined method runtime_dependencies' for nil:NilClass
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:181:in
tsort_each_child' /usr/local/lib/ruby/1.8/tsort.rb:204:in each_strongly_connected_component_from'
/usr/local/lib/ruby/1.8/tsort.rb:183:in each_strongly_connected_component' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:175:in each'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:175:in
tsort_each_node' /usr/local/lib/ruby/1.8/tsort.rb:181:in each_strongly_connected_component'
/usr/local/lib/ruby/1.8/tsort.rb:165:in strongly_connected_components' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:69:in dependency_order'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:169:in
gather_dependencies' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:245:in install'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:153:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:176:in with_correct_verbosity'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:152:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:87:in with_gem_sources'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:151:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:398:in install_package'

What version of rubygems is this?

Already solved the problems, some missing gems...

On Sun, Jul 18, 2010 at 7:19 PM, Daniel DeLeo dan@kallistec.com wrote:

On Sun, Jul 18, 2010 at 3:28 AM, shulmanb@gmail.com wrote:

I am trying to install chef 0.9.6 on the CentOS 5.4 environment. I've manually
installed couchdb, erlang and rabbitmq and now trying to bootstrap chef ruby
gems.
I've commented out the rubbitmq java and couchdb recepies from the chef bootrap
cookbook (because I've some problem with erlan package) and now I'm trying to
run the cookbook but getting the following error:
[Sun, 18 Jul 2010 09:51:34 -0400] INFO: Installing gem_package[chef-server-api]
version 0.9.6
[Sun, 18 Jul 2010 09:51:34 -0400] ERROR: gem_package[chef-server-api]
(/root/chef/chef-solo/cookbooks/chef/recipes/bootstrap_server.rb:74:in
from_file') had an error: undefined method runtime_dependencies' for nil:NilClass
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:181:in
tsort_each_child' /usr/local/lib/ruby/1.8/tsort.rb:204:in each_strongly_connected_component_from'
/usr/local/lib/ruby/1.8/tsort.rb:183:in each_strongly_connected_component' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:175:in each'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:175:in
tsort_each_node' /usr/local/lib/ruby/1.8/tsort.rb:181:in each_strongly_connected_component'
/usr/local/lib/ruby/1.8/tsort.rb:165:in strongly_connected_components' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:69:in dependency_order'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:169:in
gather_dependencies' /usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:245:in install'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:153:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:176:in with_correct_verbosity'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:152:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:87:in with_gem_sources'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:151:in
install' /usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:398:in install_package'

What version of rubygems is this?

On Sun, Jul 18, 2010 at 10:18 AM, Boris Shulman shulmanb@gmail.com wrote:

Already solved the problems, some missing gems...

Which gems were missing? If there are gem dependencies that aren't in
the gemspec, that's a bug that should be fixed.

Dan DeLeo

I believe they are in th spec... Was installing from behind a firewall
without access to the internet. I downloaded the chef gem but didn't
specifically downloaded the chef-server and chef-server-web-ui gems..

On Sun, Jul 18, 2010 at 8:39 PM, Daniel DeLeo dan@kallistec.com wrote:

On Sun, Jul 18, 2010 at 10:18 AM, Boris Shulman shulmanb@gmail.com wrote:

Already solved the problems, some missing gems...

Which gems were missing? If there are gem dependencies that aren't in
the gemspec, that's a bug that should be fixed.

Dan DeLeo

On Sun, Jul 18, 2010 at 10:44 AM, Boris Shulman shulmanb@gmail.com wrote:

I believe they are in th spec... Was installing from behind a firewall
without access to the internet. I downloaded the chef gem but didn't
specifically downloaded the chef-server and chef-server-web-ui gems..

Aha! That makes sense, thanks.