Rails mountable engine projects
Define the path to the dummy directory
In the Rails mountable engine project, open the Rails run/debug configuration for editing.
In the Configuration tab, use the Dummy app option to specify the path to the test/dummy project directory.
Click OK to apply changes.
Embed a Rails mountable engine into a Rails application
Open the target Rails project, where an engine should be embedded.
Open the Gemfile and add the engine gem. For example, add the following line for the engine placed by the engines/blorgh path:gem 'blorgh', path: 'engines/blorgh'
Open Config/routes.rb and add the line to make the engine's functionality accessible within an application, for example:mount Blorgh::Engine, at: "/blog"