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

Needed work, fixed it

I'm using Ruby 2.0.0 x64 on Windows 7 and installed just like it says. rails server crashes after starting saying "no tzdata-info"

If you have x64 version, update last line of file Gemfile to say gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw] then run "bundle update" then it will work.

2 Answers

It works now though. I just had to see that bug fix from StackOverflow. Also cmder's OpenSSH ssh executable is at the end of the path, you have to make sure it's the first ssh it sees, It didn't like PuTTY based versions, and cygwin64's gives a warning about DOS filenames.

Today I just bought a Macbook Pro and let me tell you. SO much better than a Windows PC. I have installed Ruby a few times on Windows and it sucks. The best thing to do is install the 32 bit versions and everything works a lot smoother.

James Barnett
James Barnett
39,199 Points

Except for the list of people all talking about having issues installing rails on Mavericks.

If I do Ruby on Rails development, it'll be in Linux running alongside Windows. I can't use MacOS or develop for iOS unless I buy an "Apple-labeled computer", but at least I can run Ubuntu 14.04 LTS alongside Windows and also develop for Android for free. Closed-source sucks sometimes.

James Barnett
James Barnett
39,199 Points

Kevin Larsen -

Developing using a VM is always the best way to go.

Using Virtualbox's seamless mode makes it pretty awesome to have familar Windows environment with a self-contained dev environment.