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 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?