【问题标题】:mod_rails make: command not foundmod_rails make:找不到命令
【发布时间】:2009-09-15 21:43:49
【问题描述】:

我正在 Debian 服务器上设置 mod_rails,但不知怎么搞砸了(不是我 :P)。

gem install passenger
Building native extensions.  This could take a while...
ERROR:  Error installing passenger:
 ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
creating Makefile

make
sh: make: command not found

Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fastthread-1.0.7 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/fastthread-1.0.7/ext/fastthread/gem_make.out

gem 已安装:

gem -v
1.3.5

红宝石也很好:

ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

【问题讨论】:

    标签: ruby-on-rails hosting passenger mod-rails


    【解决方案1】:

    你确定你有 make、gcc 等吗?

    $ sudo apt-get install build-essential
    

    “which make”是否指向任何东西?

    【讨论】:

      【解决方案2】:
      apt-get install build-essential zlib1g-dev libssl-dev libreadline5-dev
      

      这应该是让乘客建造所需的一切

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2013-02-06
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-11-04
        • 2012-05-26
        • 2011-06-17
        相关资源
        最近更新 更多