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

Harshay Raipancholi
seal-mask
.a{fill-rule:evenodd;}techdegree
Harshay Raipancholi
Python Development Techdegree Student 12,404 Points

Help needed with 'Generating a rails app'

Hi , I am following 'build simple ruby on rails application' videos but stuck on 'generate a rails application' stage. how can I generate an app using the windows command prompt ? the video shows how this can be done in mac but following the same commands gives me errors on the windows cmd . can someone please help me with the steps I need to take ?

5 Answers

I don't want to discourage you from your OS of choice, but you may want to consider installing a Virtual Machine and running Ubuntu Linux.

It's not simply a matter of generating a new rails app, but 99% of the documentation for Ruby on Rails at Treehouse and on the rest of the 'net, focuses on POSIX (Linux, Darwin, etc.) OS based systems.

When you run into an issue that you'll need to resolve or ask for help on, it's much easier to get help using Linux or Mac.

The reason for this is that while Windows is a popular OS for gaming and home use, most of the systems running on the internet run on Linux.

If you're not familiar with Linux, I'd recommend taking a step back from the Rails course, and go through the Console Foundations first - it's an excellent course.

It may seem like a lot of effort, but it's certainly worth while in the long run.

Obed Lorisson
seal-mask
.a{fill-rule:evenodd;}techdegree
Obed Lorisson
Front End Web Development Techdegree Student 6,151 Points

Or you can use a service like nitrous to develop into the browser , if you have a capable computer . im not a member of nitrous , i just like the product and it serve me well. and they have a collaborate feature that will help you if you want to do some pair programming. they have a free plan and because they use Linux , you will be free of those windows errors.

I wrote up a small tutorial on how to get past these issues:

https://teamtreehouse.com/forum/unofficial-guide-to-actually-finishing-the-ror-intro-tutorial

Check it out and let me know what you think?

This is awesome ryorke.

Started this months ago and dreaded coming back to it. With your guide and Nitrous, I can finally finish it.

Thank you so much for taking the time to help the rest of us.