Bug when including in Rails 4 app; used http://blog.nathanhumbert.com/2010/02/rails-3-loading-rake-tasks-from-gem.html to fix it.