gpt4 book ai didi

ruby-on-rails - mod_rails 使 : command not found

转载 作者:行者123 更新时间:2023-12-04 03:45:37 25 4
gpt4 key购买 nike

我正在 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 也不错:
ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]

最佳答案

你确定你有 make,gcc 等吗?

$ sudo apt-get install build-essential

“which make”指向什么?

关于ruby-on-rails - mod_rails 使 : command not found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1377567/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com