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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Jul 7, 4:26 pm, Justin To <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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 > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Porter On Jul 8, 7:26 am, Justin To <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> 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 > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Justin To wrote:> type this in the command prompt: rails C:\Documents and > Settings\user\Desktop\fileDon''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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 <app name> 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. On Jul 8, 6:10 am, Phlip <phlip2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for the help, I figured it out. It was the path. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---