Closed suminjames closed 4 years ago
I had to add require "sprockets/railtie"
in config/application.rb.
Found in issue here: https://github.com/fgrehm/letter_opener_web/issues/46
@suminjames does the solution from @MackHatfield helps?
It partially helper me. After requiring of "sprockets/railtie" I now have this error:
Expected to find a manifest file in `app/assets/config/manifest.js`
But did not, please create this file and use it to link any assets that need
to be rendered by your app:
I've created the empty file in app/assets/config/manifest.js and it helped, but the problem is I don't want to have the app directory in my base Rails application, because I'm using the Engines for everything.
I'm trying to resolve this error in this PR: https://github.com/igorkasyanchuk/rails_db/pull/107 maybe soon I'll release a new version
pls try the latest version and let me know if it works
I had to add
require "sprockets/railtie"
in config/application.rb. Found in issue here: fgrehm/letter_opener_web#46
Just had to implement this fix in an API rails setup. Rails 6.1.3.1 .
Rails 6.0.0 ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux] rails_db (2.1.1)
Cause