• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

解决:redhat ruby安装passenger

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

 

[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配置参考


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap