mod_rails make:找不到命令

时间:2009-09-04 06:34:02

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

我在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 -v
1.3.5

红宝石也很好:

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

2 个答案:

答案 0 :(得分:8)

你确定你有制作,gcc等?

$ sudo apt-get install build-essential

“哪个”指向什么?

答案 1 :(得分:3)

apt-get install build-essential zlib1g-dev libssl-dev libreadline5-dev

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