解決:redhat ruby安裝passenger

來源:互聯網
上載者:User

 

[root@localhost ruby]# gem install passenger --pre
ERROR: Error installing passenger:
passenger requires fastthread (>= 1.0.1, runtime)

解決辦法:下載

 

然後把檔案複製到目前的目錄執行:

gem install fastthread-1.0.1.gem

 

 

[root@localhost ruby]# gem install passenger --pre
ERROR: Error installing passenger:
passenger requires daemon_controller (>= 0.2.5, runtime)

解決辦法:

 

執行:

gem install daemon_controller

 

[root@localhost ruby]# gem install passenger --pre
ERROR: Error installing passenger:
passenger requires file-tail (>= 0, runtime)

 

解決辦法:

執行 gem install file-tail

 

 

[root@localhost ruby]# passenger-install-apache2-module
Welcome to the Phusion Passenger Apache 2 module installer, v3.0.0.pre2.

This installer will guide you through the entire installation process. It
shouldn't take more than 3 minutes in total.

Here's what you can expect from the installation process:

1. The Apache 2 module will be installed for you.
2. You'll learn how to configure Apache.
3. You'll learn how to deploy a Ruby on Rails application.

Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.

Press Enter to continue, or Ctrl-C to abort.


--------------------------------------------

Checking for required software...

* GNU C++ compiler... found at /usr/bin/g++
* Curl development headers with SSL support... not found
* OpenSSL development headers... found
* Zlib development headers... found
* Ruby development headers... found
* OpenSSL support for Ruby... found
* RubyGems... found
* Rake... found at /usr/local/ruby/bin/rake
* rack... found
* Apache 2... not found
* Apache 2 development headers... not found
* Apache Portable Runtime (APR) development headers... not found
* Apache Portable Runtime Utility (APU) development headers... not found

Some required software is not installed.
But don't worry, this installer will tell you how to install them.

Press Enter to continue, or Ctrl-C to abort.

--------------------------------------------

Installation instructions for required software

* To install Curl development headers with SSL support:
Please run yum install curl-devel as root.

* To install Apache 2:
Please run yum install httpd as root.

* To install Apache 2 development headers:
Please run yum install httpd-devel as root.

* To install Apache Portable Runtime (APR) development headers:
Please run yum install apr-devel as root.

* To install Apache Portable Runtime Utility (APU) development headers:
Please download it from http://httpd.apache.org/
(APR Utility is an integrated part of Apache.)

If the aforementioned instructions didn't solve your problem, then please take
a look at the Users Guide:

/usr/local/ruby/lib/ruby/gems/1.8/gems/passenger-3.0.0.pre2/doc/Users guide Apache.html

安裝上面的提示把 需要安裝的都安裝好

勵志名言

redhat yum配置參考

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.