3

从终端

$ sudo gem install passenger
Building native extensions.  This could take a while...
ERROR:  Error installing passenger:
    ERROR: Failed to build gem native extension.
    /Users/dan/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
extconf.rb:13:in `block in <main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:13:in `block in <main>': Use RbConfig instead of obsolete and deprecated Config.
make
Makefile:104: *** missing separator.  Stop.


Gem files will remain installed in /Users/dan/.rvm/gems/ruby-2.0.0-p0/gems/fastthread-1.0.7 for inspection.
Results logged to /Users/dan/.rvm/gems/ruby-2.0.0-p0/gems/fastthread-1.0.7/ext/fastthread/gem_make.out

不明白这个错误,为什么会出现两次?任何指导表示赞赏。

4

2 回答 2

3

安装乘客 4 beta 的命令为gem install passenger -v 4.0.0.rc4我解决了这个错误。

于 2013-04-13T03:14:33.920 回答
0

乘客 3.0.19(您获得的默认版本gem install)还没有为 ruby​​ 2 做好准备。要么使用 ruby​​ 1.9.3,要么使用当前的乘客 4 测试版。

于 2013-04-09T09:33:55.313 回答