tobami / littlechef

Cook with Chef without a Chef Server
Apache License 2.0
472 stars 71 forks source link

Use Ruby version >= 2.0 for chef gems #251

Closed palexvs closed 8 years ago

palexvs commented 8 years ago

How to force use ruby >= 2.0 by chef? I want to use fog 1.30 that requires ruby >= 2.0 instead of 1.9.1 that i got after installation chef on Ubuntu 14.04: fix -y node:hostname deploy_chef:version=11.18.12

ll /opt/chef/embedded/lib/ruby/gems/
total 12
drwxr-xr-x 3 root root 4096 Nov 16 17:24 ./
drwxr-xr-x 6 root root 4096 Nov 16 17:24 ../
drwxr-xr-x 9 root root 4096 Nov 16 17:24 1.9.1/
thegreenrobot commented 8 years ago

Are you still having this issue? I ran into this last week as well but yesterday it went away. I had originally traced the issue down to the fog-google gem that required ruby >= 2.0.

I think this commit was what fixed it for me... https://github.com/fog/fog/commit/0cb6a12a8196b5d867baea6e0e2219ab5abc8ced

Currently running:

Matt

palexvs commented 8 years ago

@thegreenrobot , thanks! I have updated fog

But it did not fix my issue Throttling => Rate exceeded :(