Switch to `gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?` (#7372)
Merge pull request 7372
This commit is contained in:
parent
c8bd59b69e
commit
fa914d2dd8
|
@ -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:
|
Add the following to the `Gemfile` for your site if you have issues with auto-regeneration on Windows alone:
|
||||||
|
|
||||||
```ruby
|
```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.
|
You have to use a [Ruby+Devkit](https://rubyinstaller.org/downloads/) version of the RubyInstaller.
|
||||||
|
|
|
@ -91,7 +91,7 @@ module Jekyll
|
||||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||||
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
||||||
# Performance-booster for watching directories on Windows
|
# 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
|
RUBY
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue