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 Simple Ruby on Rails Application Getting Started with Rails Generate a Rails Application

David McGraw
PLUS
David McGraw
Courses Plus Student 9,711 Points

Can I develop this project with the same environment as the ODOT app?

I noticed that on some of the notes for this project, it says that you have to use a different version of rails.

I have two machines I work with, my macbook has the environment set up for the ODOT todo list rails app. Can I use that same set-up for Treebook? with the exception of using the "rails new (railsversion)" command?

2 Answers

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

If you use rvm (or maybe rbenv), you can simply create a new gemset for this project and generate the app using Rails 3.2. If you want to follow this course line by line, you will also have to check out all the other versions of gems or libraries (like Bootstrap), because newest versions will break. You can download their code and check the Gemfile.lock file if it's there to see what versions are used.

That being said, it's not THAT useful to do that course following it line by line, because you just learn deprecated syntax and methods and unmaintained gems (like state_machine). The best thing would be to follow the course and try to implement the same features using newest versions of Rails and other gems, but for that you would need to be very comfortable with Rails in general.

David McGraw
PLUS
David McGraw
Courses Plus Student 9,711 Points

Damn, that project looked really cool, it would be nice if they could update that project, or have a video before the project starts explaining the adjustments needed.

Thanks again man, I'll move on to a different project instead, and once my rails chops are better I'll tackle this one, looks like a cool one.