Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialhector gonzalez
14,109 PointsTime zone error
I got two errors when i try to run the server the first line says:
DL is deprecated, please use Fiddle
then the server starts and just after it shutsdown and shows this error: No source of timezone data could be found.
3 Answers
Stone Preston
42,016 Pointshector gonzalez also go ahead and add
gem 'tzinfo', platforms: [:mingw, :mswin, :x64_mingw]
to your gem file as well if its not there already. tzinfo-data depends on that gem
Stone Preston
42,016 Pointsits most likely an issue with your tz-info gem. open your gemfile, find the line where it says
gem 'tzinfo-data', platforms: [:mingw, :mswin]
change it so that it reads
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
this adds support for 64bit versions of windows, which you are probably using.
if you did not find that line, go ahead and add the line above.
after that run the following command in terminal after navigating to your project file
bundle install
after that try starting the server again
hector gonzalez
14,109 PointsShould I uninstall and install it again the 32bit version?
hector gonzalez
14,109 PointsI'm still getting the same error
Stone Preston
42,016 Pointsare you using 32 or 64 bit windows. did the gem install correctly?
hector gonzalez
14,109 Pointshector gonzalez
14,109 Pointsit worked thanks