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 trialLoi Tran
9,053 PointsI have rails version 4.2.5
Can I still follow along and Generate the Odot project using Ruby on Rails?
1 Answer
Seth Reece
32,867 PointsHi 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
9,053 PointsLoi Tran
9,053 PointsThanks 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
32,867 PointsSeth Reece
32,867 PointsYes, you would lock it in your gemfile. For example
gem 'rspec-rails', '~> 2.0'
David Cisneros
10,472 PointsDavid Cisneros
10,472 PointsSeth Reece so i can type in gem 'rspec-rails', '~> 2.0' just about anywhere in the gem file and it will work?