On Thursday, May 23, 2013 at 05:43, Jeffrey Jones wrote:
Hello all
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 broken, apologies.
The setup:
I am using Vagrant (with berkshelf) and the https://dl.dropbox.com/u/31081437/Berkshelf-CentOS-6.3-x86_64-minimal.box box.
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 am facing.
I have tried various methods and hacks to get it working ( https://gist.github.com/anonymous/3dc9e0d3413dfb973a1e
) 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 default['passenger']['module_path'] manually.)
Cheers
Jeff
Archive powered by MHonArc 2.6.16.