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 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,440 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.