试图使用Nginx(在EC2 Linux上)安装Passenger。我使用ec2-user(而不是Root)。 Ruby 1.9.2与RVM。在linux上使用rvm在Nginx上安装乘客的问题
乘客宝石安装正确。
但是当我尝试:
passenger-install-nginx-module
我得到:
检查所需的软件...
* GNU C++ compiler... not found
* The 'make' tool... found at /usr/bin/make
* A download tool like 'wget' or 'curl'... found at /usr/bin/wget
* Ruby development headers... found
* OpenSSL support for Ruby... not found
* RubyGems... found
* Rake... found at /home/ec2-user/.rvm/wrappers/ruby-1.9.2-p180/rake
* rack... found
* Curl development headers with SSL support... not found
* OpenSSL development headers... not found
* Zlib development headers... not found
尽管存在以上。例如,如果I型:
$> gcc
$> gcc: no input files
锯某处网上,我可以尝试使用:
rvmsudo passenger-install-nginx-module
,但我得到了一个问题:
--------------------------------------------
Checking for required software...
* GNU C++ compiler... not found
* The 'make' tool... found at /usr/bin/make
* A download tool like 'wget' or 'curl'... found at /usr/bin/wget
* Ruby development headers... found
* OpenSSL support for Ruby... not found
* RubyGems... found
Unable to locate the RVM path. Your RVM installation is probably too old. Please update it with 'rvm update --head && rvm reload && rvm repair all'.
任何想法?
试图这样做有消息称是什么? 'rvm update --head && rvm reload && rvm repair all' – 2011-04-12 17:10:24
安装所有找不到的库。乘客在写入失败后如何安装 – fl00r 2011-04-12 17:11:09
@pablob是的。事实上,我刚刚安装了RVM,因此它安装的是最新的 – Tam 2011-04-12 17:31:11