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 rails

Have been following the video on how to set up ruby on windows but I had a slight hick up near the end of it. I typed "bundle exec rails server" and then went to check http://localhost:3000 only to find it did not work.

command prompt came back with the following after typing the last command:

=> Booting WEBrick
=> Rails 4.1.1 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 suing 127.0.0.1 <--binding option>
=> Ctrl-C to shutdown server
Exiting
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.1.0/lib/tzinfo/data_source.rb:199:in 'rescue 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, zoneinfo_path>'. <TZInfo::DataSourceNotFound>
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.1.0/lib/tzinfo/data_source.rb196:in 'create_default_data_source'

And that last line has about 25 lines very similar following it.

Any help on this will be appreciated!

Having the same issue!

1 Answer

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Marty Hitchcock try doing the following and let us know if it helps:

gem install tzinfo
gem install zoneinfo_path

gem install tzinfo resulted in:

Successfully installed tzinfo-1.1.0

gem install zoneinfo_path resulted in:

ERROR:  Could not find a valid gem 'zoneinfo_path' <>=0> in any repository

Thanks for the help despite the result. I will wait and see what to do next.