cd
/tmp
tar
zxf rubygems-1.8.10.tgz
cd
rubygems-1.8.10
sudo
-E ruby setup.rb --no-
format
-executable
sudo
-E gem
install
chef --no-ri --no-rdoc
sudo -E gem install aws-sdk pony --no-ri --no-rdoc
I then register my node with my chef server and that's fine.
As soon as I add my recipe into the node's runlist and sudo chef-client this happens
FATAL: LoadError: no such file to lead -- aws-sdk
So there's several questions:
1) Have I missed something which is breaking the GEM_PATH?
2) Where should I set GEM_PATH so it's seen by chef-client during a manual run and as a daemon?
Ideally we would just bootstrap, and we are going to do that, but I'd still like to know where the issue lies.
TIA
Luke
Archive powered by MHonArc 2.6.16.