Typically I create a plugin when I have a module that I know I’m going to need over again in my other projects, however, they could also be packaged as gems.
When should I be building a gem over creating a plugin? Is there any criteria for making the call?
Plugins are becoming obsolete now that you can manage gems via the ‘config.gem’ statement in environment.rb. Gems are available system-wide (not just in one app), and are versioned unlike plugins.
I’ve converted all of my plugins to gems recently. Easy to do and well worth it.