If this is necessary, it should be in the gemspec.  And `require 'cancan'` should be added in engine.rb or something.