TZInfo::DataSourceNotFound when using alpine with docker

Turns out, i was get­ting this error when set­ting up my rails app with docker on alpine. Many posts sug­gest to use tzinfo on the gem file. But I felt a bet­ter solu­tion would be to sim­ply install the pack­age on the alpine sys­tem itself as follows.

apk add --update tzdata

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...