[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.
RAILS PASSENGER 安装失败的解决过程
最新推荐文章于 2019-10-17 21:27:08 发布