stffn/declarative_authorization

Could not find generator 'authorization:install'

ishouvik opened this issue · 1 comments

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 commented

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.