我想在窗口中安裝紅寶石和導軌的寶石。我已經嘗試了下面的命令。無法安裝therubyracer-heroku寶石在窗戶上的軌道上的紅寶石?
gem install therubyracer-heroku -v '0.8.1.pre3'
我無法安裝,得到了下面的錯誤。
D:\Ruby\demo_app>gem install therubyracer-heroku -v '0.8.1.pre3' Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing therubyracer-heroku: ERROR: Failed to build gem native extension.
D:/RailsInstaller/Ruby1.9.2/bin/ruby.exe extconf.rb The system cannot find the path specified. extconf.rb failed Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
Provided configuration options:
--with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=D:/RailsInstaller/Ruby1.9.2/bin/ruby extconf.rb:9:in `<main>': Error compiling V8 (RuntimeError) Compiling V8
Gem files will remain installed in D:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/therubyracer-heroku-0.8.1.pre3 for inspection. Results logged to D:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/therubyracer-heroku-0.8.1.pre3/ext/v8/gem_make.out
[therubyracer gem on windows]可能的副本(http://stackoverflow.com/questions/6356450/therubyracer-gem-on-windows) – 2014-06-18 07:09:22