Restore gem tzinfo-data
for Windows & JRuby (#176)
This commit is contained in:
parent
08354cc4f5
commit
1f2ed3db60
1 changed files with 11 additions and 1 deletions
12
Gemfile
12
Gemfile
|
@ -2,7 +2,7 @@ source "https://rubygems.org"
|
|||
|
||||
gem "jekyll", ">=3.8.6"
|
||||
|
||||
# Official Plugins
|
||||
# plugins
|
||||
group :jekyll_plugins do
|
||||
gem "jekyll-paginate"
|
||||
gem "jekyll-redirect-from"
|
||||
|
@ -13,3 +13,13 @@ end
|
|||
group :test do
|
||||
gem "html-proofer"
|
||||
end
|
||||
|
||||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||
# and associated library.
|
||||
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
|
||||
gem "tzinfo", "~> 1.2"
|
||||
gem "tzinfo-data"
|
||||
end
|
||||
|
||||
# Performance-booster for watching directories on Windows
|
||||
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
|
||||
|
|
Loading…
Reference in a new issue