Rails mountable engine projects
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.
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"
Thanks for your feedback!
Was this page helpful?