I''m following instructions in a book and it says to enter the following: rails -d mysql chapter3 This is supposed to create the skeleton of a new rails app with correct rails app directory structure but it doesn''t create the directory like it''s supposed to. In cmd I get a whole list of information but nothing is created. Any suggestions? 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Tara Keane wrote in post #967509:> I''m following instructions in a book and it says to enter the following: > rails -d mysql chapter3 > > This is supposed to create the skeleton of a new rails app with correct > rails app directory structure but it doesn''t create the directory like > it''s supposed to. In cmd I get a whole list of information but nothing > is created. >And the list of information says...?> Any suggestions? > Thanks...Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Dec 9, 2010 at 2:17 PM, Tara Keane <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I''m following instructions in a book and it says to enter the following: > rails -d mysql chapter3 >Try rails new -d mysql chapter3> > This is supposed to create the skeleton of a new rails app with correct > rails app directory structure but it doesn''t create the directory like > it''s supposed to. In cmd I get a whole list of information but nothing > is created. > > Any suggestions? > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Marnen Laibow-Koser wrote in post #967510:> Tara Keane wrote in post #967509: >> I''m following instructions in a book and it says to enter the following: >> rails -d mysql chapter3Are you using Rails 3 with a book aimed at Rails 2, by any chance? If so, don''t. Find a Rails 3 tutorial.>> >> This is supposed to create the skeleton of a new rails app with correct >> rails app directory structure but it doesn''t create the directory like >> it''s supposed to. In cmd I get a whole list of information but nothing >> is created. >> > > And the list of information says...? > >> Any suggestions? >> Thanks... > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
If you are using rails 2.x version then your command should be: rails new Project_Name -d mysql and if it''s rails 3 then type rails Project_Name -d mysql On Fri, Dec 10, 2010 at 1:47 AM, Tara Keane <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I''m following instructions in a book and it says to enter the following: > rails -d mysql chapter3 >*here chapter3 should come before -d mysql. otherwise you will get this error : "Options should be given after the application name. For details run: rails --help" *> > This is supposed to create the skeleton of a new rails app with correct > rails app directory structure but it doesn''t create the directory like > it''s supposed to. In cmd I get a whole list of information but nothing > is created. > > Any suggestions? > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Another thing is that I think you are trying to learn Rails 3 from a Rails 2 version book. If so please do not follow that book and get a Rails 3 tutorial or install Rails version mentioned in that book. So, further you wouldn''t get trapped in such situations. Cause there are many commands deprecated in Rails 3. On Fri, Dec 10, 2010 at 12:15 PM, Surya <raj.surya19-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If you are using rails 2.x version then your command should be: rails new > Project_Name -d mysql > > and if it''s rails 3 then type rails Project_Name -d mysql > > > > On Fri, Dec 10, 2010 at 1:47 AM, Tara Keane <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > >> I''m following instructions in a book and it says to enter the following: >> rails -d mysql chapter3 >> > *here chapter3 should come before -d mysql. otherwise you will get this > error : "Options should be given after the application name. For details > run: rails --help" > * > >> >> This is supposed to create the skeleton of a new rails app with correct >> rails app directory structure but it doesn''t create the directory like >> it''s supposed to. In cmd I get a whole list of information but nothing >> is created. >> >> Any suggestions? >> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.