Sunday, March 6, 2011

Re: [Rails] "rails generate" creates application

On Sun, Mar 6, 2011 at 10:23 AM, Samuel Sternhagen <lists@ruby-forum.com> 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 ------------------------ hassan.schroeder@gmail.com
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 rubyonrails-talk@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate