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 trial

Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Windows

hector gonzalez
hector gonzalez
14,109 Points

Time 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
Stone Preston
42,016 Points

hector 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
Stone Preston
42,016 Points

its 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
hector gonzalez
14,109 Points

Should I uninstall and install it again the 32bit version?

hector gonzalez
hector gonzalez
14,109 Points

I'm still getting the same error

Stone Preston
Stone Preston
42,016 Points

are you using 32 or 64 bit windows. did the gem install correctly?