kristianmandrup / roles_mongoid

Roles for mongoid using the Roles generic API from roles_generic
MIT License
29 stars 7 forks source link

Could not find generator mongoid:roles_migration #8

Open andrelee opened 12 years ago

andrelee commented 12 years ago

I am trying to run the command "rails g mongoid:roles_migration User --strategy one_role --roles user special editor --no-default-roles" mentioned in the wiki and I ran into "Could not find generator mongoid:roles_migration" error. I don't see generator mongoid:roles_migration when I run "rails g":

Mongoid: mongoid:config mongoid:devise mongoid:roles

RolesGeneric: roles_generic:roles

This is my gem list and I am using ruby 1.8.7: Using rake (0.9.2.2) Using i18n (0.6.0) Using multi_json (1.1.0) Using activesupport (3.2.2) Using builder (3.0.0) Using activemodel (3.2.2) Using erubis (2.7.0) Using journey (1.0.3) Using rack (1.4.1) Using rack-cache (1.2) Using rack-test (0.6.1) Using hike (1.2.1) Using tilt (1.3.3) Using sprockets (2.1.2) Using actionpack (3.2.2) Using mime-types (1.18) Using polyglot (0.3.3) Using treetop (1.4.10) Using mail (2.4.4) Using actionmailer (3.2.2) Using arel (3.0.2) Using tzinfo (0.3.32) Using activerecord (3.2.2) Using activeresource (3.2.2) Using bcrypt-ruby (3.0.1) Using bson (1.6.1) Using bson_ext (1.6.1) Using bundler (1.0.22) Using coffee-script-source (1.2.0) Using execjs (1.3.0) Using coffee-script (2.2.0) Using rack-ssl (1.3.2) Using json (1.6.5) Using rdoc (3.12) Using thor (0.14.6) Using railties (3.2.2) Using coffee-rails (3.2.2) Using orm_adapter (0.0.6) Using warden (1.1.1) Using devise (2.0.4) Using jquery-rails (2.0.1) Using mongo (1.6.1) Using mongoid (2.4.7) Using rails (3.2.2) Using require_all (1.2.1) Using sugar-high (0.4.9.5) Using rails_assist (0.4.4) Using rails_artifactor (0.3.6) Using roles_generic (0.3.9) Using roles_mongoid (0.4.8) Using sass (3.1.15) Using sass-rails (3.2.5) Using uglifier (1.2.3)

Am I missing anything? Thanks in advance.

kristianmandrup commented 12 years ago

I have no idea. Haven't looked at it for a long time. Please check the code ;)