I would like rake db:schema:load use db/schema.rb , which was not located in my application, but in one of my gems. This already works for db:seed by inserting config.paths['db/seeds'] = Core::Engine.paths['db/seeds'].existent in my application.rb . (Core is a gem that also supports Rails.)
However, in config.paths there is no db/schema.rb and config.paths['db'] = Core::Engine.paths['db'].existent does not work.
What is the easiest way to do this?
source share