-
Notifications
You must be signed in to change notification settings - Fork 203
Description
Hi,
I want to mount Ember frontend in the Rails engine, I am following the steps and since it is Rails engine, I've added require_dependency 'ember_cli' to the initializer, however when I try to start the engine's parent app - I've got
undefined method `mount_ember_app' for #<ActionDispatch::Routing::Mapper:0x00007f8aaa9605c8>
any tips how to make it work?
Thanks
Which operating system and version is the project developed on?
macOS
Which version of ruby is the project developed on?
2.5.0
Which version of npm is the project developed on?
5.6.0
Which version of ember-cli is the project developed on?
2.18.2
What is the rails version?
5.1.4
What is the ember-cli-rails version (from Gemfile)?
0.10.0
What is the ember-cli-rails-addon version (from package.json)?
0.10.0
Is your application server multi-threaded
(such as puma and unicorn) or is it multi-process (such as thin and webrick)?
webrick
What are the contents of config/initializers/ember.rb?
require_dependency 'ember_cli'
EmberCli.configure do |c|
c.app :frontend
end
What are the contents of the Rails' view that renders the Ember application?
blank
How are the EmberCLI-related routes defined?
MyEngine::Engine.routes.draw do
mount_ember_app :frontend, to: '/'
end
How is the application deployed?