Closed senid231 closed 2 months ago
Hmm... mind adding a commit where you add this to the travis.yml
file?
before_install:
- gem install bundler -v 1.17.3
@metaskills looks like sqlite3
is missing
I think CI should be fixed in a separate MR
I will rebase this one after that
Yea, I can work on that in a few days.
When you are developing rails engine which has connects with two databases you don't have ordinary rails tasks like
db:migrate
db:structure:load
etc. They are moved intoapp
namespace.so instead of
rake db:migrate
you need to rightrake app:db:migrate
.when you use gem with
railtie
that has rake tasks in rails engine those task namespaced intoapp
too. Problem appears when you want to run another rake task inside of yours. For example when we insideapp
namespace we need to runapp:db:migrate
instead of `db:migrate.in this PR I've solved this problem in a same way as
active_record
does - just call tasks using name related to currentdb
namespace