运行rvmsudo passenger-install-nginx-module
,我得到:
Checking for required software...
* GNU C++ compiler... found at /usr/bin/g++
* The 'make' tool... found at /usr/bin/make
* A download tool like 'wget' or 'curl'... found at /usr/bin/wget
* Ruby development headers... not found
没有运气
请以root身份运行
apt-get install ruby1.8-dev
答案 0 :(得分:2)
你试过了吗?
rvm get head
rvm reload
gem install passenger
rvmsudo passenger-install-nginx-module