- From: Chris <
>
- To:
- Subject: [chef] chef 0.10.10 question
- Date: Thu, 3 May 2012 17:38:17 -0700
I know 10.10 is still rc, but i ran into a quirk at startup.
Starting up via init script i run into:
Starting chef-server:
/usr/lib64/ruby/gems/1.8/gems/chef-0.10.10.rc.2/lib/chef/config.rb:275:
undefined method `+' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in
`require'
from /usr/lib64/ruby/gems/1.8/gems/chef-0.10.10.rc.2/lib/chef.rb:24
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:59:in
`gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:59:in
`require'
from
/usr/lib64/ruby/gems/1.8/gems/chef-server-api-0.10.10.rc.2/bin/chef-server:38
from /usr/bin/chef-server:19:in `load'
from /usr/bin/chef-server:19
Looking in config.rb i find:
# returns a platform specific path to the user home dir
user_home (ENV['HOME'] || ENV['SYSTEMDRIVE'] + ENV['HOMEPATH'] ||
ENV['USERPROFILE'])
the only env variable thats set is HOME. the others seem Windows
centric? i commented it out and things seem fine, so I'm wondering if
maybe this should be inside the conditional right above it?
--
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
- [chef] chef 0.10.10 question, Chris, 05/03/2012
Archive powered by MHonArc 2.6.16.