我知道有几个关于此的主题,但我创建一个新主题的原因是它仍然对我不起作用......
所以这是我的配置:
ruby -v : 1.8.7
gem -v : 1.8.21
当我尝试做
sudo gem1.8 install rails
我有以下错误:
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
creating Makefile
make
sh: make: not found
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/json-1.6.6 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/json-1.6.6/ext/json/ext/generator/gem_make.out
我在 Debian 6.0.4 Squeeze 上运行。
提前感谢您的回答!