Skip to content
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

Could not find generator 'authorization:install' #206

Open
ishouvik opened this issue May 8, 2015 · 1 comment
Open

Could not find generator 'authorization:install' #206

ishouvik opened this issue May 8, 2015 · 1 comment

Comments

@ishouvik
Copy link

ishouvik commented May 8, 2015

Hello,
I am trying to use Declarative Auth on my Rails 4.2.1 app and while generating the Role model with

$ rails g authorization:install [UserModel=User] [field:type field:type ...] [--create-user --commit --user-belongs-to-role]

I get the following output
Could not find generator 'authorization:install'. Maybe you meant ...

@zeiv
Copy link
Contributor

zeiv commented May 29, 2015

Hey ishouvik,

Check to see if you are using version 1.0.0.pre. The installer is only available in that version (I believe) and only up to 0.5.7 is on rubygems, so you'll have to pull the gem from GitHub in your Gemfile.

Update: Also, see #200.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants