Solution: Install passenger in RedHat Ruby

Source: Internet
Author: User
Tags ruby on rails

 

 
[Root @ localhost Ruby] # gem install passenger -- pre
Error: Error installing PASSENGER:
Passenger requires fastthread (> = 1.0.1, runtime)

Solution: Download

 

Copy the file to the current directory and execute:

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)

Solution:

 

Run:

Gem install daemon_controller

 

 
[Root @ localhost Ruby] # gem install passenger -- pre
Error: Error installing PASSENGER:
Passenger requires file-tail (> = 0, runtime)

 

Solution:

Execute 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 CT 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
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

Install the above prompt to install all the installation

Inspirational quotes

RedHat Yum configuration reference

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.