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 trialSam Fitz
7,036 PointsPersistent Rails Course Issues due to using Windows 8 & Rails -v 4.2
I've experiencing a lot of dead-ends and frustration due to unfinished courses trying to learn Ruby on Rails. I love Treehouse - I've learned and applied a lot from HTML, CSS and PHP courses - but learning Rails has been so difficult because of unnecessary hindrances that I'm considering ending my membership in favor of a competitor site, like CodeSchool or Lynda. I don't mean to sound "threatening," I just preface this post with that to express how deeply frustrating this has been for me. And judging from many forum threads I've come across while trying to resolve my many issues, it's safe to say that I'm far from the only one.
I started with a series of 4 or 5 beginner level Ruby courses. Workspace sometimes failed to respond appropriately, but restarting it always worked. Jason did a great job with the courses, and I developed a firm understanding of the fundamentals of Ruby.
Next, I went through the course on Installing a Ruby Development Environment (https://teamtreehouse.com/library/installing-a-ruby-development-environment) This is when I began to experience frustration. At least a handful of times during that course I had to stop because a command prompt statement did not process for me the way it did in the course. I had to spend several hours on what should have been a 30 minute course rectifying issues through dozens of Google searches, clicking from link to link to link, finding out how to resolve issues and implementing complex work-arounds. However, at least in the end I did get my environment setup correctly, finished the course, and felt ready to proceed to some Rails courses to learn what I really started this adventure for.
Well, sadly that has not happened. I started the "Build a Simple Ruby on Rails Application" course (https://teamtreehouse.com/library/build-a-simple-ruby-on-rails-application) full of hope. But a few modules in that hope was crushed by my app completely ceasing to work from the code I had been instructed to use in it. It was at this point, after putting several hours into the course already, that I discovered on the forums that I was using version 4 of Rails, and major differences between Rails 3 and 4 are why I was experiencing issues.
Tremendously helpful Ruby moderator, Maciej Czuchnowski, pointed out in response to someone else's thread that it would be better to take the "Build a Todo List Application with Rails 4" course (https://teamtreehouse.com/library/build-a-todo-list-application-with-rails-4) if you already have Rails 4 installed. I was disappointed to get so far in a course I was enjoying only to have to quit and switch, but I did that to avoid further frustration. Unfortunately, I only had more frustration in store for me. The same thing happened in that course - reaching a point that I can't move beyond because my app ceased to function after updating the code as the course suggested.
More forum browsing and Google searches have taught me that Windows is a problematic platform to learn or use Ruby or Rails from. I was supposed to have solved that by using the Treehouse VM, which I did install along with Vagrant, but it doesn't seem to be working. At one point Jason Seifer had said something like "and you will notice that your project automatically saves to the correct folder now," and even though I had precisely followed his instructions that was not the case. Additionally, differences between Rails 4.0 and 4.2 may also causes issues. This platform seems to be incredibly sensitive, and implements major changes that throw everything off if you're using a version just one decimal point off.
Sorry for being verbose, but I think it is necessary to fully understand the problem in order to properly address it, and I know many other users can benefit from a better Rails education. In conclusion, what can be done on Treehouse's side to improve Ruby on Rails education? This post will act as a forum for people to make critically constructive suggestions, and for site administrators and teachers to respond if they wish.
In addition, I would greatly appreciate suggestions for me personally about how to proceed in my quest to learn Rails. At this point, I feel like uninstalling everything I've installed, and just painstakingly install the exact version of Ruby, Rails and any gems Jason uses for a given course in order to avoid problems... should I do that? And if so, is it OK to install multiple completely different versions of Ruby on the same system in order to take both the ODOT and Simple Rails App courses, or will that cause problems as well? ...lastly, since the Treehouse VM doesn't seem to be working and I don't know how to fix that, is there another (ideally free) VM or vitual software that is recommended for Windows users? If so, will using that circumvent having to alter some of the code, such as using rails instead of bin/rails, and other more obscure alternatives that I've had to research independently in order to proceed?
Thank you very much!
Dedicated Coder,
Sam Fitz
1 Answer
Maciej Czuchnowski
36,441 PointsDear Sam, I agree with you, I understand your pain and trust me, I went through the same problems at some point, even suspended the membership (rage quit) for a few months and followed other options to learn Rails from various other perspectives to understand it better and get to a point where I feel more comfortable (by the way, you should definitely copy this whole message and send it directly to support using the link on the right - this way you can be sure they see it). I now know two things:
1) Never use Windows for Rails development - instead you can follow one of many options:
a. Get a cheap, used, small laptop and install Linux on it (preferably Ubuntu or Mint) - doesn't have to be a beast, Rails development is not so demanding when it comes to RAM and CPU; or
b. Install VMWare Player and use it to install Linux as a virtual machine and form now on use a real virtual machine in a separate Windows window (I don't really understand how Treehouse VM works and I see a lot of people having problems with it on the forum); or
c. Dual boot your Windows machine with Linux - you can then choose Windows or Linux every time you start your computer; or
d. Set up a Cloud9 account and develop Rails in the browser on ANY computer; it's free and provides you with a full development environment based on Ubuntu Linux.
2) There are no perfect tutorials and courses. All of them are deprecated at different points, some of them are too fast, some of them are too slow, they all focus on different aspects. I shouldn't really publish any suggestions on this forum, as this would not be an OK thing to do to Treehouse team.
Please go o my github page (there's an icon on my Treehouse profile) and drop me an email. I will be more than happy to help you out with points 1) and 2) without clogging the forum.