2014-02-15 41 views
0

以下是我的Windows 7命令提示符中顯示問題的一些命令。正如你所看到的,我添加了我能想到的所有事情,試圖解決這個問題。同樣的DevKit之前使用過相同的Ruby安裝爲我工作,所以我認爲我正確安裝了它。'gem install atomic'找不到DevKit,即使它正好在路徑中,爲什麼?

E:\ruby\bookmarks3Copy>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:\ruby\bookmarks3Copy>path 
PATH=f:\ruby\DevKit;f:\ruby\DevKit\bin;[snip];f:\ruby\DevKit\bin;f:\programs\git\bin;"F:\Program Files (x86)\KDiff3" 

E:\ruby\bookmarks3Copy>where ruby 
f:\ruby\Ruby200-x64\bin\ruby.exe 

E:\ruby\bookmarks3Copy>gem list atomic 

*** LOCAL GEMS *** 

atomic (1.1.14) 

E:\ruby\bookmarks3Copy>bundle list atomic 
DL is deprecated, please use Fiddle 
f:/ruby/Ruby200-x64/lib/ruby/gems/2.0.0/gems/atomic-1.1.14 

回答

1

我可以在這裏分享你我的解決方法,希望對大家的工作

碧列表

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

紅寶石dk.rb安裝它將增強DevKit到您安裝的紅寶石

最後創業板安裝導軌

這將安裝最新的軌道4版對Ruby 2.0

相關問題