mailboxer-app icon indicating copy to clipboard operation
mailboxer-app copied to clipboard

TZInfo::DataSourceNotFound error starting Rails v4.1.0 server on Windows

Open ahmedelfa opened this issue 10 years ago • 3 comments

make sure you add

gem 'tzinfo-data' gem 'tzinfo'

to Gemfile

ahmedelfa avatar Nov 05 '14 17:11 ahmedelfa

I can't check this on Windows, can anybody confirm? BTW, to keep your sanity, I'd rather not use Windows for Rails development.

RKushnir avatar Nov 05 '14 19:11 RKushnir

I had to, it was quite a challenge to make everything work correctly. But my prods are on Unix. Thanks for the advise anyway.

ahmedelfa avatar Nov 11 '14 10:11 ahmedelfa

Yeah, you need the tzinfo for windows. i normally use this: gem 'tzinfo-data', platforms: [:mingw, :mswin]

jume-dev avatar Mar 09 '15 13:03 jume-dev