Skip to content

Commit ee50421

Browse files
committed
Gemfile: Resolve "uninitialized constant TZInfo:Timezone (NameError)"
that may be seen on Windows. Thanks to @Andre601 for sharing his solution on tzinfo/tzinfo#144 (comment)
1 parent 6d7aa3e commit ee50421

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/Gemfile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22

33
source "https://rubygems.org"
44

5+
gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?
6+
7+
gem "webrick"
8+
9+
platforms :mingw, :x64_mingw, :mswin, :jruby do
10+
gem 'tzinfo', '>= 1', '< 3'
11+
gem 'tzinfo-data'
12+
end
13+
514
group :jekyll_plugins do
615
gem "github-pages"
716
gem "jekyll-github-metadata"
8-
gem 'tzinfo-data'
9-
gem "webrick"
10-
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
1117
end

0 commit comments

Comments
 (0)