我想在Windows上安裝紅寶石,並有問題。當我開始出現錯誤時,我已經到了這個地步,而且對於PHP開發Web應用程序而言,我完全是新手。幫助讚賞!在Windows上的軌道 - 安裝問題
EDIT我在這裏以下的指令提供用於瓦帕:
http://www.alexbernard.fr/fichiers/blog/Installer-Ruby-On-Rails-sur-un-Wamp-Server.pdf
./gem install rails --include-dependencies
輸出:
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
C:/wamp/ruby/bin/ruby.exe extconf.rb
creating Makefile
make
generating generator-x64-mingw32.def
compiling generator.c
make: x86_64-w64-mingw32-gcc: Command not found
make: *** [generator.o] Error 127
Gem files will remain installed in C:/wamp/ruby/lib/ruby/gems/2.0.0/gems/json-1.8.0 for inspection.
Results logged to C:/wamp/ruby/lib/ruby/gems/2.0.0/gems/json-1.8.0/ext/json/ext/generator/gem_make.out
使用帶有wamp的滑軌是一個錯誤。如果你正在開發,你應該使用內置的webrick或類似的。如果你在做生產,你應該使用linux。 – pguardiario