Let's say I created a mounted engine in the ~/my_engine :
~/my_engine
rails plugin new my_engine --mountable
How to install this engine in a Rails 3.1 application that is at the same directory level (e.g. ~/my_app )?
~/my_app
There is a good process entry here:
http://www.builtfromsource.com/2010/12/13/mountable-engines-in-rails-3-1-beta-getting-started/
In short, add this to your main Gemfile application:
Gemfile
gem 'my_engine', :path => '../my_engine'
And run bundle install / bundle update . Add this to the main application
bundle install
bundle update
mount MyEngine::Engine => '/my-engine-url'
Source: https://habr.com/ru/post/1381156/More articles:Message Bus Versus Multicast - multicastModel View Controller ... and general classes? - oopEquivalent to Bind <>. ToMethod in unity? - unity-containerC # 4.0 Default Parameters - c #Get class name and property name from expression () => MyClass.Name - .netGlassfish - Java EE application from 32-bit to 64-bit OS, incomplete database queries? - javaPlay vimeo onmouseover video and pause onmouseout - jqueryDelphi threading: CriticalSection is not "Release'd" when using Synchronize inside its method - multithreadingHow to forcefully remove keyboard after showing with SHOW_FORCED - androidContinuous building on Linux - linuxAll Articles