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 a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Windows

Error when installing rails: activesupport requires Ruby version >= 2.2.2. Video only seems to want 2.0.0

Error when installing rails: activesupport requires Ruby version >= 2.2.2. Video only seems to want 2.0.0. Installed the 2.0.0 (x64) version as per video. Worked fine right up until the install rails moment. Should I just go ahead and install the 2.2.2 version? Any advice would be much appreciated! Cheers

2 Answers

Adam Rainsby
Adam Rainsby
2,848 Points

You can upgrade your version of ruby and then you can use ActiveSupport 5 or you could downgrade to ActiveSupport to 4.2.6 which will work with ruby 2.0.0.

ActiveSupport 5 is newer - it came out about a week ago. If you want to follow the course exactly downgrade ActiveSupport otherwise get the newer version. I'm pretty sure it will be mostly compatible anyway.

Cool, thanks, Adam! I think I actually already did this (the 4.2.6 one) and got it working after doing some googling! Up and running now.

Hey I am having the same issue. How did you downgrade to the Active Support 4.2.6 ??

Adam Rainsby
Adam Rainsby
2,848 Points

It probably makes more sense to update your version of ruby. Look into rvm (ruby version manager)