我试图用 Apache2 和 ruby 2.0 安装乘客,当我这样做时我遇到了这行错误:
passenger-install-apache2-module
错误:
--------------------------------------------
Compiling and installing Apache 2 module...
cd /usr/local/lib/ruby/gems/2.0.0/gems/passenger-3.0.19
/usr/local/bin/ruby /usr/local/bin/rake apache2:clean apache2 RELEASE=yes
# /usr/local/bin/ruby /usr/local/bin/rake apache2:clean apache2 RELEASE=yes
rake aborted!
cannot load such file -- rubygems/builder
(See full trace by running task with --trace)
--------------------------------------------
It looks like something went wrong
我试过:
gem install builder
但是这个错误仍然出现。我该如何解决?
编辑
红宝石版本:
2.0 p2
宝石清单:
bigdecimal (1.2.0)
builder (3.2.0)
bundler (1.3.1)
daemon_controller (1.1.1)
fastthread (1.0.7)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
passenger (3.0.19)
psych (2.0.0)
rack (1.5.2)
rack-protection (1.4.0)
rake (0.9.6)
rdoc (4.0.0)
sinatra (1.3.5)
test-unit (2.0.0.0)
tilt (1.3.4)