1.更换淘宝gem
gem sources --remove https://rubygems.org/ gem sources -a https://ruby.taobao.org/
2.gem安装passenger
gem install passenger
3.用passenger安装nginx
passenger-install-nginx-module rvmsudo passenger-install-nginx-module '若安装过rvm,则需执行这一句给最高权限
4.报错
可能会碰到缺少某个模块,根据引导安装好后再执行一次passenger-install-nginx-module 所有配置全部默认
passenger安装nginx,布布扣,bubuko.com
原文地址:http://blog.csdn.net/u011102951/article/details/36537099