Skip to content

Commit 8eb4727

Browse files
Add 'tzinfo-data' for Windows development (#5979)
* This is needed to run Mongoid tests (and any Rails gem test) on Windows. Rails adds it automatically when you do rails new on windows. Since it is in the Gemfile (not the gemspec) it doesn't affect anyone's actual code, it is purely for development purposes. * Update Gemfile Co-authored-by: Alex Bevilacqua <alex@alexbevi.com> --------- Co-authored-by: Alex Bevilacqua <alex@alexbevi.com>
1 parent 5997f6c commit 8eb4727

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ if RUBY_PLATFORM =~ /java/
1717
end
1818

1919
gem 'i18n', *i18n_versions
20+
21+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
22+
gem "tzinfo-data", platforms: %i[ windows jruby ]

0 commit comments

Comments
 (0)