RAILS PASSENGER 安装失败的解决过程

[root@cntest2 ~]# gem install passenger
ERROR:  could not find gem passenger locally or in a repository
[root@cntest2 ~]# gem install passenger -v=2.2.5
ERROR:  Error installing passenger:
    invalid gem format for /usr/local/ruby/lib/ruby/gems/1.9.1/cache/fastthread-1.0.7.gem
[root@cntest2 ~]# gem install passenger -v=2.2.1
ERROR:  Error installing passenger:
    invalid gem format for /usr/local/ruby/lib/ruby/gems/1.9.1/cache/fastthread-1.0.7.gem

    [root@cntest2 download]# wget http://rubyforge.org/frs/download.php/54692/fastthread-1.0.7.gem
--10:35:28--  http://rubyforge.org/frs/download.php/54692/fastthread-1.0.7.gem
           => `fastthread-1.0.7.gem'
Resolving rubyforge.org... 205.234.109.19
Connecting to rubyforge.org|205.234.109.19|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://files.rubyforge.vm.bytemark.co.uk/mongrel/fastthread-1.0.7.gem [following]
--10:35:39--  http://files.rubyforge.vm.bytemark.co.uk/mongrel/fastthread-1.0.7.gem
           => `fastthread-1.0.7.gem'
Resolving files.rubyforge.vm.bytemark.co.uk... 80.68.94.54
Connecting to files.rubyforge.vm.bytemark.co.uk|80.68.94.54|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21,504 (21K) [application/x-tar]

100%[==========================================>] 21,504        41.63K/s            

10:35:52 (41.60 KB/s) - `fastthread-1.0.7.gem' saved [21504/21504]


[root@cntest2 download]# ll *.gem
-rw-r--r--  1 root root 21504 Apr  9  2009 fastthread-1.0.7.gem
[root@cntest2 download]# gem install fastthread-1.0.7.gem
Building native extensions.  This could take a while...
Successfully installed fastthread-1.0.7
1 gem installed
Installing ri documentation for fastthread-1.0.7...
Installing RDoc documentation for fastthread-1.0.7...
[root@cntest2 download]# gem install passenger
Building native extensions.  This could take a while...
Successfully installed passenger-2.2.9
1 gem installed
Installing ri documentation for passenger-2.2.9...
Updating class cache with 2267 classes...
Installing RDoc documentation for passenger-2.2.9...
[root@cntest2 download]#


[root@cntest2 download]# passenger-install-apache2-module
Welcome to the Phusion Passenger Apache 2 module installer, v2.2.9.

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值