Skip to content

Commit

Permalink
Gemfile: Resolve "uninitialized constant TZInfo:Timezone (NameError)"
Browse files Browse the repository at this point in the history
that may be seen on Windows.

Thanks to @Andre601 for sharing his solution on
tzinfo/tzinfo#144 (comment)
  • Loading branch information
anthonyfok committed Feb 21, 2024
1 parent 6d7aa3e commit ee50421
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@

source "https://rubygems.org"

gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?

gem "webrick"

platforms :mingw, :x64_mingw, :mswin, :jruby do
gem 'tzinfo', '>= 1', '< 3'
gem 'tzinfo-data'
end

group :jekyll_plugins do
gem "github-pages"
gem "jekyll-github-metadata"
gem 'tzinfo-data'
gem "webrick"
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
end

0 comments on commit ee50421

Please sign in to comment.