。
这是我的Windows 7命令提示符下显示问题的一些命令。正如你所看到的,我把我能想到的一切都添加到我的道路上,试图解决问题。相同的 DevKit 以前使用相同的 Ruby 安装为我工作,所以我认为我安装正确。
E:rubybookmarks3Copy>gem install atomic -v '1.1.9'
ERROR: Error installing atomic:
The 'atomic' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
E:rubybookmarks3Copy>path
PATH=f:rubyDevKit;f:rubyDevKitbin;[snip];f:rubyDevKitbin;f:programsgitbin;"F:Program Files (x86)KDiff3"
E:rubybookmarks3Copy>where ruby
f:rubyRuby200-x64binruby.exe
E:rubybookmarks3Copy>gem list atomic
*** LOCAL GEMS ***
atomic (1.1.14)
E:rubybookmarks3Copy>bundle list atomic
DL is deprecated, please use Fiddle
f:/ruby/Ruby200-x64/lib/ruby/gems/2.0.0/gems/atomic-1.1.14
我可以在这里分享我的解决方案,希望它能奏效
皮克列表
It should show you
187: ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32] 192: ruby 1.9.2p290 (2011-07-09) [i386-mingw32] 193: ruby 1.9.3p327 (2012-11-10) [i386-mingw32]
200: ruby 2.0.0p247 (2013-06-27) [i386-mingw32] If its not pointing to ruby version 200 then
皮克使用 200
ruby dk.rb 安装 它将增强 DevKit 到您安装的 Rubies
最后宝石安装导轨
这将为 Ruby 2.0 安装最新的 rails 版本 4