RubyMine 7.0.1 Web Help

To embed a Rails mountable engine into a Rails application, follow these general steps
  1. Open the target Rails project, where an engine should be embedded.
  2. Open for editing the Gemfile, and add the following line:
    gem '<engine name>', :path => "<absolute path to the Rails mountable engine project>"
                
  3. Open for editing Config/routes.rb, and add the following line:
    mount <engine name>::Engine, :at => "/<engine name>"
                

See Also

Language and Framework-Specific Guidelines:

Web Resources: