Created
January 4, 2012 10:07
-
-
Save unnitallman/1559413 to your computer and use it in GitHub Desktop.
Phusion passenger + rvm + different ruby version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm use 1.9.1 | |
gem install passenger | |
cd /var/rails/staging_sites/Zed | |
passenger start -a 127.0.0.1 -p 3000 -d | |
<VirtualHost *:80> | |
ServerName staging.zed.bangthetable.com | |
ProxyPass / http://127.0.0.1:3000/ | |
ProxyPassReverse / http://127.0.0.1:3000/ | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment