# Creating a rails project

**URL:** <https://www.ruby-forum.com/t/creating-a-rails-project/142441>\
**Category:** Rails\
**Created:** [July 8, 2008, 1:26am UTC](https://www.ruby-forum.com/t/creating-a-rails-project/142441 "2008-07-08T01:26:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jturney](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e99b99/32.png) [@jturney](https://www.ruby-forum.com/u/jturney)\
**Post date:** [July 8, 2008, 1:26am UTC](https://www.ruby-forum.com/t/creating-a-rails-project/142441/1 "2008-07-08T01:26:30Z")

</div>

Hi, I’m just starting with Rails today…

type this in the command prompt: rails C:\Documents and  
Settings\user\Desktop\file

Then it displays… create x, create y, etc…

But when I check the desktop, I see no folder.

Thanks

---

<div class="post-metadata">

**Author:** ![jturney](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e99b99/32.png) [@jturney](https://www.ruby-forum.com/u/jturney)\
**Post date:** [July 8, 2008, 2:48am UTC](https://www.ruby-forum.com/t/creating-a-rails-project/142441/2 "2008-07-08T02:48:21Z")

</div>

Hi Justin,

what version of rails does rails -v report ?  
If you get an error, then you may have a pathing issue!

Also you probably want to create your Rails projects in a different  
location - the desktop is not the best place!

I have ruby in c:\ruby and then I have railsapps within that. Then  
when i create a new project I move to the railsapps folder then all I  
have to type is rails projectname

HTH - Dave P.

---

<div class="post-metadata">

**Author:** ![jturney](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e99b99/32.png) [@jturney](https://www.ruby-forum.com/u/jturney)\
**Post date:** [July 8, 2008, 10:45am UTC](https://www.ruby-forum.com/t/creating-a-rails-project/142441/3 "2008-07-08T10:45:03Z")

</div>

Did you see the full path it shows on each of the task progress  
messages (on the files created etc), I guess it would say something to  
the effect of “create drive:\folder\inner\_folder\project\_folder”, I am  
not familiar with rails on windows, on Linux it shows the full path in  
the progress messages.

-Kr

---

<div class="post-metadata">

**Author:** ![jturney](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e99b99/32.png) [@jturney](https://www.ruby-forum.com/u/jturney)\
**Post date:** [July 8, 2008, 3:11am UTC](https://www.ruby-forum.com/t/creating-a-rails-project/142441/4 "2008-07-08T03:11:44Z")

</div>

Justin To wrote:

> type this in the command prompt: rails C:\Documents and  
> Settings\user\Desktop\file

Don’t tempt fate. Most command-line scripts (such as Rails’s generators)  
will  
not merge the spaces in that filename.

Always cd to the target folder, then do rails file, to build the  
project.

And good luck keeping a project on your desktop. You will need to use a  
command  
line interface much more often than the Explorer to do Rails, so try a  
simpler  
folder, such as c:\myName

–  
Phlip

---

<div class="post-metadata">

**Author:** ![jturney](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e99b99/32.png) [@jturney](https://www.ruby-forum.com/u/jturney)\
**Post date:** [July 8, 2008, 10:52am UTC](https://www.ruby-forum.com/t/creating-a-rails-project/142441/5 "2008-07-08T10:52:45Z")

</div>

The only problem I see is with path. Instead of typing the whole path  
to your desktop, please change directory to the folder in which you  
wish to create the rails app.  
And then issue command: rails This will be more easier to  
work with.  
Also, please check if your path variable have entry for ruby  
interpreter. If yes, then ignore it; If not, please add full path to  
ruby interpreter.

---

<div class="post-metadata">

**Author:** ![jturney](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e99b99/32.png) [@jturney](https://www.ruby-forum.com/u/jturney)\
**Post date:** [July 8, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/creating-a-rails-project/142441/6 "2008-07-08T17:38:59Z")

</div>

Thanks for the help, I figured it out. It was the path.
