I download the current dark passenger
wget http://rubyforge.org/frs/download.php/75548/passenger-3.0.11.tar.gz tar -zxvf passenger-3.0.11.tar.gz cd passenger-3.0.11/ rake package sudo su # and make me a sandwitch
cd pkg gem install passenger-3.0.11.gem
start the nginx wizzard
/var/lib/gems/1.8/gems/passenger-3.0.11/bin/passenger-install-nginx-modulechoose (1),(1)
enter enter enter
and all is installed
Read what is needed to add to nginx config if you do an upgrade
mainly the new passenger path
Please edit your Nginx configuration file (probably /opt/nginx/conf/nginx.conf), and set the passenger_root and passenger_ruby configuration options in the 'http' block, like this: http { ... passenger_root /var/lib/gems/1.8/gems/passenger-3.0.11; passenger_ruby /usr/bin/ruby1.8; ... } After you (re)start Nginx, you are ready to deploy any number of Ruby on Rails applications on Nginx. Press ENTER to continue.The END
No comments:
Post a Comment