Skip to content

Instantly share code, notes, and snippets.

@davemorro
Created January 11, 2011 03:42
Show Gist options
  • Save davemorro/773982 to your computer and use it in GitHub Desktop.
Save davemorro/773982 to your computer and use it in GitHub Desktop.
Installing REE with Passenger & Nginx
# 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