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
FRED NUPUKU TAMBUA
173 Pointsruby 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
James Barnett
39,199 PointsHave you installed Ruby on Rails yet?
If not, you can find out how to install Ruby on Rails on Windows at http://railsinstaller.org/
FRED NUPUKU TAMBUA
173 Pointsyes 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
James Barnett
39,199 PointsWhat happens when you type ruby -v or rails -v
FRED NUPUKU TAMBUA
173 Pointsmy 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
James Barnett
39,199 PointsLooks like you've successfully installed ruby.
What happens when you type in rails --version
FRED NUPUKU TAMBUA
173 PointsI get, rails 3.2.1
Thank you
James Barnett
39,199 PointsWhat happens when you type in rails server?
FRED NUPUKU TAMBUA
173 Pointsit displays; usage: rails new APP_PATH[options]
Options: -r, [--ruby=PATH] and some other long text
Thank you
Cade Ward
8,537 PointsLooks 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?
FRED NUPUKU TAMBUA
173 PointsI havn't created one yet, how do i create one? Thank you
Cade Ward
8,537 PointsAwesome. 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!
FRED NUPUKU TAMBUA
173 PointsThe 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
Cade Ward
8,537 PointsThat 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
FRED NUPUKU TAMBUA
173 PointsThank you. I think the way mac OS displays is different from windows.I think it's working
FRED NUPUKU TAMBUA
173 PointsPlease 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
Kathryn Sullivan
628 PointsCan 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...?
James Barnett
39,199 PointsKathryn -
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.
Kathryn Sullivan
628 PointsVery cool. Thank you.