Is tzinfo-data needed if the application will run only on Linux docker containers. Should the following need to be added to the Gemfile
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
When you create a new rails app, you get this message: Basically, you can just remove
gem tzifono-data
from your Gemfile
if you are running anything except windows, and run bundle update
.
The tzinfo-data gem is not needed on Linux.
Here's a detailed answer https://github.com/tzinfo/tzinfo-data/issues/13#issuecomment-287174435
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.