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

Ruby 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 !

alt text

4 Answers

also 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

Yeah I was missing that line!

Thanks you're awesome :D

awesome glad its working now

hmm 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

Thanks 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

did the tzinfo-data gem install correctly?

This is what it said when I ran the install alt text