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

Tyler Thornberry
Tyler Thornberry
4,477 Points

Is my rails okay?

im using 4.2.5.1 and in the video he says if youre not using 4.0 there may be issues. I dont want to get far into this to realize the steps in the video wont work with my version

2 Answers

Roberto Alicata
PLUS
Roberto Alicata
Courses Plus Student 39,959 Points

I think you'd better use the same version of the tutorial ( using rvm or rbenv).

If you want to look at some possible incompatibilities, look at THIS

Here is what I did to get to the correct version of rails (thanks to stackoverflow)

gem install rails --version 4.0.1 gem uninstall rails Select gem to uninstall:

  1. rails-4.0.1
  2. rails-4.2.6
  3. All versions 2 gem uninstall railties ... 2 so that: gem list now shows: rails (4.0.1) ... railties (4.0.1) and rerunning: rails new odot now has the proper version showing the gemfile