Switch to `gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?` (#7372)

Merge pull request 7372
This commit is contained in:
XhmikosR 2018-11-24 15:25:15 +02:00 committed by jekyllbot
parent c8bd59b69e
commit fa914d2dd8
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ Jekyll uses the `listen` gem to watch for changes when the `--watch` switch is s
Add the following to the `Gemfile` for your site if you have issues with auto-regeneration on Windows alone:
```ruby
gem 'wdm', '~> 0.1.1' if Gem.win_platform?
gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?
```
You have to use a [Ruby+Devkit](https://rubyinstaller.org/downloads/) version of the RubyInstaller.

View File

@ -91,7 +91,7 @@ module Jekyll
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
RUBY
end