root@unassigned-hostname:/opt/dell/bin# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Yay - games ;) From: Lowther, Victor Sent: Wednesday, March 06, 2013 2:29 PM To: Abes, Andi; crowbar Subject: RE: setting GEM_PATH chef related bits Hmmm... What does echo $PATH as root have for the path? From: Abes, Andi Sent: Wednesday, March 06, 2013 1:26 PM To: Lowther, Victor; crowbar Subject: RE: setting GEM_PATH chef related bits I was running as root. One of the possible difference is that I'm adding executing a rake task, which needs to be wrapped in a bundle exec, which finally, triggers a bundle install behind the scenes. That possibly polluted the system gem dir with our stuff. From: Lowther, Victor Sent: Wednesday, March 06, 2013 1:50 PM To: Abes, Andi; crowbar Subject: RE: setting GEM_PATH chef related bits Where were you hitting this? What user were you running knife client create as? From: crowbar-bounces On Behalf Of Abes, Andi Sent: Wednesday, March 06, 2013 12:37 PM To: crowbar Subject: [Crowbar] setting GEM_PATH chef related bits Been hitting a funky error (see below), from deep in the bowls of knife. The interesting part is how this was resolved - using the chef server embedded gemsite, rather than the system one ( i.e. adding GEM_PATH=/opt/chef/embedded/lib/ruby/gems to the env). Might be worth keeping that in mind as we invoke chef'ist things. The Error: /var/lib/gems/1.9.1/gems/chef-10.24.0/lib/chef/knife/client_create.rb:62:in `run': undefined method `[]' for #<Chef::ApiClient:0x00000002418960> (NoMethodError)
_______________________________________________ Crowbar mailing list Crowbar@dell.com https://lists.us.dell.com/mailman/listinfo/crowbar For more information: http://crowbar.github.com/