You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem with running a rails engine in the host application. My integration tests pass but when I mount it in the host application, can't start the server due to the above error. Any idea?
[adones@Omars-imac-2 test_unsakini]$ rails s
=> Booting Puma
=> Rails 5.0.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h`for more startup options
Exiting
/home/adones/Projects/UNSAKINI/unsakini/config/routes.rb:9:in `block in<top (required)>': undefined method `mount_devise_token_auth_for'for#<ActionDispatch::Routing::Mapper:0x00564862b63568> (NoMethodError)
The text was updated successfully, but these errors were encountered:
👋 Faced the same issue and the fix worked. Just wondering, is this something that should be in the docs, or better yet, in the generator? Or is it more complicated than that?
I have a problem with running a rails engine in the host application. My integration tests pass but when I mount it in the host application, can't start the server due to the above error. Any idea?
Here's my routes:
My
gemspec
Gemfile
Error log:
The text was updated successfully, but these errors were encountered: