試圖使用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