Now works except manually editing nginx.conf

Passenger root and ruby root directory locations fixed.

Other small fixes.