Hi Graham,As I said on IRC, your solution doesn't seem to apply to passenger.I'm installing rbenv and Ruby using the rbenv cookbook found in the community site. It has an Ohai plugin that correctly reports my rbenv-installed Ruby in languages[:ruby], yet the gem still gets installed to the system Ruby, and when mod_rails tries to compile it uses that as well.I'm very curious to understand how are people configuring and deploying Rails applications with Chef. If anyone can share how they're doing it, I'd appreciate that.Thanks,- cassianoOn Friday, May 10, 2013 at 15:02, Graham Christensen wrote:
Hi Cassiano,I actually had to figure this out just today, but for Unicorn. I decided on creating a bundle wrapper script which sources the environment. see this gist for the wrapper: https://gist.github.com/grahamc/ea63999829ed220923ccUnicorn allows passing in a custom bundler command which I did:I'm not sure if passenger has something similar which you can take advantage of.--Graham ChristensenOn Friday, May 10, 2013 at 1:57 PM, Cassiano Leal wrote:
The content of the message has not been downloaded yet.
Archive powered by MHonArc 2.6.16.