1

Git Bash で Jekyll serve を実行すると、次の警告が表示されます。

Please add the following to your Gemfile to avoid polling for changes:
gem 'wdm', '>= 0.1.0' if Gem.win_platform?

Gemfile を追加した後、別のエラー メッセージが表示されます。

Could not find gem 'wdm (>= 0.1.0) x64-mingw32' in any of the gem sources
listed in your Gemfile or available on this machine.

この問題を解決するために Ruby Devkit をインストールしようとしましたが、次のエラー メッセージしか表示されません。

$ ruby dk.rb install
[INFO] Skipping existing gem override for 'C:/Ruby200-x64'
[WARN] Skipping existing DevKit helper library for 'C:/Ruby200-x64'

$ gem install json --platform=ruby
ERROR: Error installing json:
The 'json' 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'
4

2 に答える 2

1

以前に devkit をインストールしたようで、新しいインストールをスキップします。試してみてください

ruby dk.rb install --force
于 2016-07-06T04:17:49.423 に答える