0
我在Windows上并尝试安装导轨。但我得到了以下错误消息:错误:无法在安装导轨时创建gem本机扩展
Z:\AlexL\My Documents\rails>gem install rails
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:/Ruby193/bin/ruby.exe -r ./siteconf20150211-3312-5ie7vd.rb extconf.rb
creating Makefile
make clean
Makefile:165: *** target pattern contains no `%'. Stop.
make
Makefile:165: *** target pattern contains no `%'. Stop.
make failed, exit code 2
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.
2 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/js
on-1.8.2/gem_make.out
的Ruby版本是: 红宝石1.9.3p484
我有这个安装的devkit的devkit-TDM-32-4.5.2-20111229-1559-SFX 此文件夹中:
C:\ Ruby193 \的devkit \
不知道还有什么是错的?
不要使用Windows与红宝石:)认真,在虚拟机上安装Ubuntu – itsnikolay 2015-02-11 15:41:39