[chef] Re: application_ruby cookbook and rbenv


Chronological Thread 
  • From: Graham Christensen < >
  • To:
  • Subject: [chef] Re: application_ruby cookbook and rbenv
  • Date: Fri, 10 May 2013 14:02:02 -0400

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/ea63999829ed220923cc

Unicorn allows passing in a custom bundler command which I did: 


  unicorn do
    bundler true
    bundle_command "#{base_dir}/bundle_wrapper.sh"
  end

I'm not sure if passenger has something similar which you can take advantage of.

-- 
Graham Christensen

On 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.

§