How do I disable / remove an engine?

I have gone through many sites where they explain how we can build / mount a new engine or convert an existing Rails application to an engine. But couldn't find any links where they explained how to disable or remove the engine.

I am working with rails version 3.2.2.

can someone help me with this?


source to share

1 answer

Once you remove the engine from yours Gemfile

, the engine will be disabled / removed from the main application.

Uninstall any links that you manually added to the main engine dependent application, you will have to remove them yourself.
As with routes.rb, installation is optional and therefore you must remove it yourself.
You put the engine in lib / engine, it can be anywhere on your system or a remote channel like github. So you will have to remove these additional links yourself ... Not sure about the migration if they can be directly removed or not ..



All Articles