Skip to content

Instantly share code, notes, and snippets.

@unnitallman
Created January 4, 2012 10:07
Show Gist options
  • Save unnitallman/1559413 to your computer and use it in GitHub Desktop.
Save unnitallman/1559413 to your computer and use it in GitHub Desktop.
Phusion passenger + rvm + different ruby version
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