New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing rake task: acts_as_taggable_on_engine:install:migrations #466
Comments
' I'm mounting your engine within my engine' acts-as-taggable-on is not a moutable engine. You have to require it in your engine. |
I already have it in there. I edited my original comment to state that I was not in fact mounting your engine, but including it as a gem. manager.gemspec contains: lib/manager/engine.rb contains: |
did you copy the migrations to your engine ? i don't think that rake check for recursive task. |
I have now tested in the following environments:
|
A workaround is to require it in your app too in your Gemfile. |
Does it make a difference if you also require https://github.com/mbleigh/acts-as-taggable-on/blob/master/lib/acts_as_taggable_on/engine.rb That would be where the rake task is usually loaded from. |
Sorry, my bad; It was using v 2.4.1 and I was running the wrong command :/ bundle exec rails g migration acts_as_taggable_on:migration worked. |
My app structure is as follows:
Bundler shows 2.4.1 is installed in test_app, but rake -T doesn't list the rake task like it does with my custom engine. Calling the install migrations task fails. I cannot continue forward beyond this point if I can't migrate my db.
Using Ruby 64-bit 2.0.0p353, Rails 4.0.2, on Windows x64 OS.
Quick summary: I'm mounting your engine within my engine within an app. Rake task to install migration files is missing and fails.
EDIT: Poor choice of words - I'm not mounting your engine, I'm including the gem.
The text was updated successfully, but these errors were encountered: