Skip to content

Fix README with correct generator syntax #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 27, 2012
Merged

Conversation

swrobel
Copy link
Contributor

@swrobel swrobel commented Oct 19, 2012

No description provided.

@swrobel
Copy link
Contributor Author

swrobel commented Nov 9, 2012

rails g annotate:install works for me ... what version are you on?

@turadg
Copy link
Contributor

turadg commented Nov 12, 2012

With 2.5 release, only the existing form works for me (per the current README). @swrobel what version do you have?

$ rails g annotate:install
Could not find generator annotate:install.
$ rails g annotate_models:install
      create  lib/tasks/auto_annotate_models.rake

@swrobel
Copy link
Contributor Author

swrobel commented Nov 12, 2012

I'm using the latest from github master, which is why I submitted the pull request, the docs in master should reflect the behavior in master...

@alexch
Copy link
Collaborator

alexch commented Nov 13, 2012

Part of the confusion is that some people believe this tool should be named annotate and others believe it should be named annotate_models, and they keep competitively merging their code :-)

On Nov 12, 2012, at 3:19 PM, Stefan Wrobel notifications@github.com wrote:

I'm using the latest from github master, which is why I submitted the pull request, the docs in master should reflect the behavior in master...


Reply to this email directly or view it on GitHub.

@turadg
Copy link
Contributor

turadg commented Nov 27, 2012

Maybe it would help if the repo matched the gem name, annotate. My understanding is that the name was made more generic one it could annotate more than models.

Since annotate is the gem name and the Rake name in master, I'll merge this to master.

@turadg turadg closed this Nov 27, 2012
@turadg turadg reopened this Nov 27, 2012
turadg added a commit that referenced this pull request Nov 27, 2012
Fix README with correct generator syntax
@turadg turadg merged commit 1340635 into ctran:master Nov 27, 2012
@jesseclark
Copy link

I just installed by adding 'gem 'annotate', ">=2.5.0"' to my gemfile.

Did not work: rails g annotate:install
Worked: rails g annotate_models:install

@bachand
Copy link

bachand commented Apr 3, 2013

If you install the gem via the GitHub repo (gem 'annotate', :git => 'git://github.com/ctran/annotate_models.git'), rails g annotate:install will work. The version on RubyGems doesn't include the change in question.

@ctran ctran added the released label Dec 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants