简体   繁体   English

mod_rails make:找不到命令

[英]mod_rails make: command not found

I'm setting up mod_rails on a Debian server but somehow something got screwed up (it wasn't me :P ). 我在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 is installed: 安装宝石:

gem -v
1.3.5

ruby also fine: 红宝石也很好:

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

Are you sure you have make, gcc et al? 你确定你有制作,gcc等?

$ sudo apt-get install build-essential

Does "which make" point to anything? “哪个”指向什么?

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

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM