Created
January 11, 2011 03:42
-
-
Save davemorro/773982 to your computer and use it in GitHub Desktop.
Installing REE with Passenger & Nginx
This file contains 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
# As root | |
cd /opt | |
wget http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz | |
tar xzvf ruby-enterprise-1.8.7-2010.02.tar.gz | |
./ruby-enterprise-1.8.7-2010.02/installer | |
/opt/ruby-enterprise-1.8.7-2010.02/bin/passenger-install-nginx-module | |
# Select standard nginx install, existing configuration will be used | |
pico /opt/nginx/conf/conf.d | |
# Update http block to include: | |
# passenger_root /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/passenger-3.0.2; | |
# passenger_ruby /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby | |
/etc/init.d/nginx restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment