0

問題を示す Windows 7 コマンド プロンプトからのコマンドを次に示します。ご覧のとおり、問題を解決しようとして、考えられるすべてのものをパスに追加しました。同じ Ruby のインストールで以前は同じ 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
4

1 に答える 1

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

ruby dk.rb install インストール済みの Ruby に DevKit を拡張します。

最後にgem install rails

これにより、Ruby 2.0 用の最新の Rails バージョン 4 がインストールされます。

于 2014-02-15T08:35:23.067 に答える