I have just spent the afternoon trying to figure out why the
passenger_apache2 cookbook wasn’t working for me so my brain is a bit
I am using Vagrant (with berkshelf) and the
I am building ruby using the chef-ruby_build cookbook and then
symlinking to /usr/local/bin and /usr/bin.
I am then installing apache2 using the apache2 cookbook and attempting
to install the passenger_apache2 cookbook to install phusion passenger.
The passenger_apache2 cookbook installs the gem and .so files correctly
however the passenger.conf and passenger.load files always point to the
embedded chef ruby locations.
After a bit of searching I found
http://tickets.opscode.com/browse/COOK-2293 which is the exact issue I
I have tried various methods and hacks to get it working (
) but nothing I have tried works (Including the fix from COOK-2293).
The comments on COOK-2293 don’t really seem to offer a solution either.
I have reached the end of my tether but prior to smashing something into
little pieces, does anyone have a solution or workaround? (One that
doesn’t involve setting default[‘passenger’][‘root_path’] and