Когда я запускаю Jekyll на Git Bash, я получаю следующее предупреждение:Не удалось найти gem 'wdm (> = 0.1.0) x64-mingw32' в любом из источников драгоценных камней, перечисленных в вашем Gemfile или доступных на этом аппарате
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'
Необходимо выполнить следующие шаги: https://github.com/oneclick/rubyinstaller/wiki/Development-Kit для установки devkit. Затем он отлично работает и при использовании [chocolatey] (http://chocolatey.org/) - 'choco install ruby2.devkit'. – koppor