[chef] Re: rvm with chef[-solo] system/user-wide for multiple applications


Chronological Thread 
  • From: Sascha Bates < >
  • To:
  • Cc: Marcelo de Moraes Serpa < >
  • Subject: [chef] Re: rvm with chef[-solo] system/user-wide for multiple applications
  • Date: Sun, 25 Nov 2012 21:07:08 -0600

The best Chef-RVM cookbook I've found is Fletcher Nichol's: https://github.com/fnichol/chef-rvm

It's a bit tricky on OSX because of the compiler, but if you're doing it on Linux it should be fairly straightforward.

There's *a lot* of documentation but generally you can get away with just adding override attributes for the existing recipes.



Sascha Bates | | 612 850 0444 | | |
On 11/25/12 5:08 PM, Marcelo de Moraes Serpa wrote:
Hi list,

I've given up on Chef+rvm for now. It seems to be a little bit more involved than I expected. I ended up using this recipe to install Ruby 1.9.2 from source: https://github.com/carlo/chef-ruby1.9, luckily all my apps are 1.9-based anyway.

However, I was wondering if anyone out there managed to successfully use rvm to install ruby system-wide or user-wise. I'd also like to know if there's anyone using it to have multiple ruby apps using different rubies by using the .rvmrc.

Any insights appreciated,

- Marcelo.




Archive powered by MHonArc 2.6.16.

§