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

Ruby Generate rails application

Hi I am new to treehouse and when I try to generate a rails application in my command prompt it doesn't seem to work they have me type "rvm use 1.9.3" it comes back batch file not recognized and not what it does in the video. is there something I else I need to type in or create a directory or something? help please!

2 Answers

Hi Tim!

Did you use the Rails Installer to set everything up? Are you using OSX or Windows?

Yes I installed everything and I am on widows 7. I do not know how he created a directory in the command prompt screen as the very first step. I realized I can open a command prompt screen with ruby rails and I assume that takes care of my first question about having to make sure I am using ruby rails by checking the rvm use 1.9.3 command. I can follow the video to a point where it has me type in cdtreebook but when I do it says batch file not recognized so i skipped and kept going with the video then it prompts to type rails server and a website should appear however it did not in my prompt screen and I didn't know if that was because I never created a directory to begin with. Sorry if this is confusing I am new the the technology terminology. thank you for any feedback I appreciate it! love the pic by the way

No trouble! It's going to be a little more difficult following along with Windows, but I'll see if I can offer you a breakdown of the steps:

Create a directory

C:\> mkdir projects

Navigate to the newly created projects directory

C:\> cd projects

Generate a new Rails application called treebook

C:\projects\> rails new treebook

I hope that helps get you off to a start! If you have any further questions, don't hesitate to ask- the community here is very helpful.

Thank you! i appreciate it! while i was stuck on this I looked in to how to create a Android app and I followed it all the way till I had to access my virtual device manager and my AVD wasn't there and I manually created in one but wouldn't let me and popped up with an error in my console. Any idea what that means?