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

General Discussion

ruby on rails application

Helo please i need help.When i open my command prompt on windows, its starts on drive C and i don't know how to continue with the tutorials because when i type command to display the version of ruby, it says the command is not recognized.Don't know how to proceed. Thanks

18 Answers

Have you installed Ruby on Rails yet?

If not, you can find out how to install Ruby on Rails on Windows at http://railsinstaller.org/

yes i have already installed ruby on rails on windows.When i open command prompt, i don't know how to proceed because it shows C:_ and when i type anything, it tells me the command is not recognised.Thank you

What happens when you type ruby -v or rails -v

my command prompt looks like this:

C:\users\Fred>_ When i type ruby -v i get

ruby 1.9.3p125 <2012-02-16> [1386-mingw321]

C:\users\Fred>

Thank you

Looks like you've successfully installed ruby.

What happens when you type in rails --version

I get, rails 3.2.1

Thank you

What happens when you type in rails server?

it displays; usage: rails new APP_PATH[options]

Options: -r, [--ruby=PATH] and some other long text

Thank you

Looks like you need to be inside your project folder. You can only boot up the ruby server from INSIDE that projects actual directory.

Unless you haven't created a project yet. Have you?

I havn't created one yet, how do i create one? Thank you

Awesome. Looks like you are all set to get going with your first application with rails. Hit up this episode here to watch how to make your first application. Good Luck!

The tutorial doesn't show me how to create the project folder.it just starts with something like this;

1.9.3 [/projects]$

and i don't know how that came about.

Thank you

That just means he is in a folder called "projects". You can do the same if you made a directory

mkdir projects

Then just go into that folder

cd projects

From there, just follow what the video says to create a new rails application

Thank you. I think the way mac OS displays is different from windows.I think it's working

Please when in get into projects folder and then treebook, I get the welcome on board on localhost:3000 but i get the following [2013-03-01 00:03:17] WARN could not determine content-lenth of response body.Set content-length of the response or set Response#chunked = true

I need help please.Thank you

Can I request that the make directory command (or even directions on how to click around and make the directory via gui) be included in the lesson? As poor of a programmer I am, I'm even worse in Windows command prompt; I was completely lost when thrown from "install the program" to "now that you have a project set up". Or did I miss something...?

Kathryn -

You can check out the Console Foundations course, here on Treehouse which covers Linux command line.

Or you can check out Zed Shaw's CLI Crash Course.

Very cool. Thank you.