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
Brandon Stewart
3,434 PointsRuby Run Server Errors
I'm following this video : http://teamtreehouse.com/library/installing-a-ruby-development-environment/installing-a-ruby-development-environment/installing-ruby-on-windows
and whenever i run
bundle exec rails server
I get a lot of lines of errors !
4 Answers
Stone Preston
42,016 Pointsalso 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
42,016 Pointshmm try this if you are running 64 bit windows:
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
Brandon Stewart
3,434 PointsThanks Stone for the reply. I did exactly what you said and I still get the same issue.
Should I just install the 32 bit version of everything and use that rather than this? :o
Stone Preston
42,016 Pointsdid the tzinfo-data gem install correctly?
Brandon Stewart
3,434 PointsThis is what it said when I ran the install


Brandon Stewart
3,434 PointsBrandon Stewart
3,434 PointsYeah I was missing that line!
Thanks you're awesome :D
Stone Preston
42,016 PointsStone Preston
42,016 Pointsawesome glad its working now