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.

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

tzinfo

E:\Ruby200-x64\rails\testapp>bundle exec rails server
DL is deprecated, please use Fiddle
=> Booting WEBrick
=> Rails 4.1.0 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0
.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
E:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.1.0/lib/tzinfo/data_source.rb:1
99:in `rescue in create_default_data_source': No timezone data source could be f
ound. To resolve this, either install TZInfo::Data (e.g. by running `gem install
 tzinfo-data`) or specify a zoneinfo directory using `TZInfo::DataSource.set(:zo
neinfo, zoneinfo_path)`. (TZInfo::DataSourceNotFound)
        from E:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.1.0/lib/tzinfo/dat
a_source.rb:196:in `create_default_data_source'

4 Answers

David Curtis
David Curtis
11,301 Points

Kevin,

It looks like you have installed Ruby 2.0. When you get to the section on devise, your app most likely will break. I started w/ 2.0 on Windows 8, and could not pass the devise portion. Unfortunately, I had to start the course over with Ruby v 1.9.3. I have also read there are problems with newer versions of Ruby on Windows 8, especially 64-bit versions. You might want to uninstall 2.0, install 1.9.3, and try again. I hope that helps and good luck!

I should note: After installing 1.9.3 and starting over, I was able to complete the entire course. Also, do not run "gem update" at any time during the course.

Edit: Looks like there is a fix for the devise problem: https://teamtreehouse.com/forum/devise-updated-with-ruby-211-and-rails-403

David

Stone Preston
Stone Preston
42,016 Points

try running gem install tzinfo-data and see if that fixes it

Thanks but unfortunately, no. Same error after installing the tzinfo-data gem

Going back to 1.9 did the trick. Thanks!