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 trialBryan Bor
7,662 PointsNo 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
23,939 PointsThe 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