On Sat, Aug 18, 2012 at 12:56 PM, Rubyist Rohit <[email protected]> wrote: > I am following "Head First Rails" to learn Rails Web Application > Development. > > To create a new web application from command prompt, the books says: > > rails <app_name> > > When I try the above command, it doesn't work. After little tweaking I > tried: > > rails new <app_name> > > This works but crashes the creation of directory structure in: > vendors/plugins.
vendor/plugins is dead and if I remember right won't even be supported in Rails 4, so it's better to rid of using it now. Any tutorial that recommends using it, under any circumstance is outdated and should not be used. > Later I tried running this command (as mentioned in the book): > ruby script/server > > This command doesn't works. I opened the Script folder and found that it > has only one sub-folder with the name Rails. rails n dir -- create a new rails app rails s -- start rails server rails g -- generate commands rake -T -- list of rake commands rails has --help which will list base, and you can also do something like rails n --help and list help docs specific to rails new. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

