Skip to content

Commit 4208bae

Browse files
committed
Restore gem tzinfo-data for Windows & JRuby (cotes2020#176)
1 parent ec69d4d commit 4208bae

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Diff for: Gemfile

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ source "https://rubygems.org"
22

33
gem "jekyll", ">=3.8.6"
44

5-
# Official Plugins
5+
# plugins
66
group :jekyll_plugins do
77
gem "jekyll-paginate"
88
gem "jekyll-redirect-from"
@@ -13,3 +13,13 @@ end
1313
group :test do
1414
gem "html-proofer"
1515
end
16+
17+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
18+
# and associated library.
19+
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
20+
gem "tzinfo", "~> 1.2"
21+
gem "tzinfo-data"
22+
end
23+
24+
# Performance-booster for watching directories on Windows
25+
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?

0 commit comments

Comments
 (0)