ruby-on-rails – mod_rails make:找不到命令

我在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也很好:

ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
最佳答案
apt-get install build-essential zlib1g-dev libssl-dev libreadline5-dev

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

转载注明原文:ruby-on-rails – mod_rails make:找不到命令 - 代码日志