In order to get the output that you're looking for, you need to type the
following on the command line from your RAILS_ROOT directory:

./script/generate -h

Part of the output should look something like:

Installed Generators
  Builtin: controller, helper, integration_test, mailer, metal, migration,
model, observer, performance_test, plugin, resource, scaffold,
session_migration


On Sun, Mar 6, 2011 at 7:28 PM, Hassan Schroeder <[email protected]
> wrote:

> On Sun, Mar 6, 2011 at 10:23 AM, Samuel Sternhagen <[email protected]>
> wrote:
> > I am trying to run the command 'rails generate'. According to
> > RubyonRails.org this should show me what generators are available. When
> > I run the 'rails generate' command with no options it creates an
> > application named 'generate'.
> >
> > Does anyone know why this is happening?
>
> Because the version of Rails you're running is *not* the version that
> guide is describing.
>
> Command syntax changed significantly from 2.x to 3.x .
>
> --
> Hassan Schroeder ------------------------ [email protected]
> twitter: @hassan
>
> --
> 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 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to