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 trialColin Stodd
3,160 PointsCompatability problems with Ruby/Rails versions and the tutorials
I'm using ruby 2.0.0, and rails 4.0.1 and when following through with the tutorials, I'm getting errors and layouts that are completely different than what I see in the tutorials. I'm at the "Forms" block, and It's becoming nearly impossible to follow along as a result.
Does anyone know what version of ruby/rails they are using? Also, are there benefits from trying to learn newer versions of Rails in comparison to dated versions, vice a versa? For the sake of trying to follow along, I think I'm going to have to start over using older versions because the tutorials are almost impossible to follow along with. On the other hand, If I'm going to learn a language I assume its better to start with the "newer" syntax/gems/and such.
Your thoughts and opinions are greatly appreciated!!! :)
3 Answers
Stone Preston
42,016 Pointsi believe it is rails 3.2 and ruby 1.9.3. You will run into problems if you use a different version than the videos use. You can still do the project, you just might have to figure some problems out on your own that arent encountered in the videos. I would recommend using the versions used in the video though.
James Barnett
39,199 Points>
Also, are there benefits from trying to learn newer versions of Rails in comparison to dated versions, vice a versa?
In business people generally stick to a "stable" version of a piece of software because it's a known quantity. Always using the newest version has a much lower risk/reward ratio.
Colin Stodd
3,160 PointsSo your saying that in the real world "in business", its better to use the newer version vs the stable version, or that the newer version is generally the more stable version?
James Barnett
39,199 PointsActually the exact opposite
Colin Stodd
3,160 PointsGood to know. Thanks for your input!
Colin Stodd
3,160 PointsJust as a friendly update. I have decided to install Ruby 1.9.3 and Rails 3.2, and I'm going to run through the tutorials again. Can't hurt ;)
Michael Wiss
19,233 PointsMichael Wiss
19,233 PointsI think the impulse to learn the latest version is pretty universal. My experience in the workplace though encourages an understanding of the characteristics of many versions. You'll not always be working on projects using the latest versions of a framework.
You could reinstall the versions the tutorial uses or you could search the Ruby forum (about 3-4 monthes back) for clues from Kirill and Rebecca on how to make the tutorial work with 4 and 2.