Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


No timezone data source Error on server initialization

I was simply following the installation instructions with the video and my testapp server appears to be crashing instantly giving an error of: "c:/users(blah blah)/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.1.0/lib/tzinfo/data_source.rb:199: in 'resuce in create_default_data_source': No timezone data source could be found. To resolve this, either install TZInfo::Data (e.g. by running 'gem install tzinfo-data') or specify a zoneinfo directory using 'TZInfo::DataSource.set(:zoneinfo, zoneinfo_path)'. (TZInfo::DataSourceNotFound)"

It then shows a large number of directory paths that I am supposing incidentally fail. I went ahead and tried running "gem install tzinfo-data" and then I tried the "bundle exec rails server" again and received the same error message. Any suggestions as this is a deeply nested connectivity issue that I wouldn't begin to know how to root out. Thanks in advance.

1 Answer

Austin Davis
Austin Davis
23,939 Points

The same problem happened on my machine when I started with Ruby on Rails. I was able to resolve it following the steps from this post: http://stackoverflow.com/questions/23022258/tzinfodatasourcenotfound-error-starting-rails-v4-1-0-server-on-windows