deric/nginx-passenger-deb-packaging — pull request #2 by elmatou (2013-07-24 12:12:27+00:00)
Title: Some improvements, fixes & features

I Deric, As we spoke about, you will find here some work I did on your script.

First af all, I'm aware, I went a bit far without consulting you, so feel free to pick/accept/reject any line I wrote. I just wanted to share my work on this.

1 - Create an auto sudo procedure for RVM.
2 - This package should stand in the httpd section as it replaces nginx which is in this section.
3 - Fix the folder issue in the root of the package (but didn't split the config file as it is in the nginx debian package
4 - Refactor Variables & Configurations in order to prepare the script for vendoring Passenger.

Now I experience some issue while changing the environnement, and depending on the system I installed the package. I think it is importante to pack passenger too as debian package, in order to fix dependendcies, and to be sure to use the same version of the extensions you built nginx with.

Two strategies are avaliable : built an independent package and set some "depends" between nginx-passenger and ruby-passenger, vendor passenger in the nginx-passenger.

For now I started a branch on my repos for embeded (vendor) passenger, but I still have no strong conviction on this matter.

See you