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 Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Generate a Rails Application

Loi Tran
Loi Tran
9,053 Points

I have rails version 4.2.5

Can I still follow along and Generate the Odot project using Ruby on Rails?

1 Answer

Seth Reece
Seth Reece
32,867 Points

Hi Loi,

You should be fine. I would lock in the specified version of other gems Jason uses though. For example he uses rspec 2.x, and there is a few big changes in rspec 3.x.

Loi Tran
Loi Tran
9,053 Points

Thanks for responding Seth! How would I lock it Seth? In the Gemfile? It's difficult to follow along with him because when he runs the test's I always get fails from rspec. The application still does what I command it to do, for example require description field and requires a title, but its annoying as heck seeing that all my tests fail... lol =)

Anyway, Just open up the gemfile and then require only version 2.x of rspec, correct?

Seth Reece
Seth Reece
32,867 Points

Yes, you would lock it in your gemfile. For example

gem 'rspec-rails', '~> 2.0'

Seth Reece so i can type in gem 'rspec-rails', '~> 2.0' just about anywhere in the gem file and it will work?