guillermo/rake-hooks — Issue #4: undefined method `after`
Author: brendon
Created: 2011-11-14 01:45:28+00:00
State: open

I've included rake-hooks in my rails 3.1.1 Gemfile for all environments and have created a rake file in lib/ exactly as your example on the homepage and just get:

rake aborted!
undefined method `after' for main:Object

What could I be doing wrong? I'm requiring the library at the top of the rake file.