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 2 and Rails 4

Hi guys, does anyone know when Treehouse will update their versions of ruby and rails in the course content?

5 Answers

I recommend using ruby 1.9.3 and rails 3.2.12 so you can learn with the videos.

The changes in the new versions of ruby and rails are slight (rails 4.0 has some bigger changes), and trying to figure them out while you are learning is difficult.

Then once you have a solid understanding, you can upgrade to ruby 2.0 and rails 4.0

Treehouse tries to cover as much content as possible with out teaching you different versions of the same thing.

For an example Photoshop cs5 v. Photoshop cs6, in this case treehouse most likely won't update the courses.

The Ruby on Rails course's goal is not only to teach you RoR but to also teach you how to read the documentation so you will be ready to learn feature versions of Ruby and Rails.

@Brandon, If the differences are slight, then is it necessary to switch to the older versions of ruby/rails? That sounds like a lot of work. Plus, I have rbenv installed. Does that mean in my command line that I can simply point to which version I want to use?

@Chase, are you saying that I should just plow right ahead in the ROR's course content -- even though I have a different versions or ruby and rails?

I was going to do that figuring that I could still build along with the course and also learn, which appears to be what you are suggesting.

Well, for ruby not big changes, but for rails a bunch of stuff was changed. You need to remember that not all Gems may be compatible with the new version of Rails. So that's another issue you could run into.

If you do switch, make sure you check compatibility of errors arise, because that's bound to happen.

Try changing your version of Ruby and Rails. I believe you can do that by using the rvm command.