I've been trying to develop a Rails gem/plugin with generators for
Rails 3. I first had a separate gem project with a gem statement in my
Gemfile with a :path option to point at it. But then I had to run $
rake install on each change in my gem to have Rails pick up on it. I
have now instead put my generators inside RAILS_ROOT/lib so they are
easier to test/develop.
When I run $ rails g
$ rails g auth_assist:ability
Could not find generator auth_assist:ability.
What am I doing wrong here? Must the generators be in a gem/plugin to
be picked up by Rails?
What is the best/easiest approach for developing plugins/generators
with Rails 3?