我一直在尝试在托管 rails 3 应用程序的 Centos VPS 上安装 Phusion Passenger,但我不断收到以下错误:
Installing Phusion Passenger Standalone...
[******************************** ] Preparing Nginx... \
checking for OS
+ Linux 2.6.18-238.12.1.el5xen x86_64
checking for C compiler ... found but is not working
./configure: error: C compiler gcc is not found
我已按照此处的所有说明进行操作,但似乎没有任何区别。我尝试过的其他事情是下载 nginx-1.2.3 源并使用不同的源目录手动编译它们,它们可以正确编译和安装。但是当我尝试从我的 Rails 应用程序运行乘客启动时,它会再次触发安装。运行 nginx -v 确实显示它已安装。任何帮助,将不胜感激 !我正在运行 Ruby 1.9.2。