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

Tyler Thornberry
Tyler Thornberry
4,477 Points

Is my rails okay?

im using 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
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