Rails 2.1 introduced some nifty ways to manage gems that your Rails
application depends upon. However, using gems *instead of* plugins
seems to a growing practice as well.
I'm just wondering why this is? Installing a plugin means
- plugins are downloaded from a remote source and copied into vendor/
- Rails automatically finds code in vendor/plugins
rake gems:install in Rails 2.1 means:
- gems can downloaded from a remote source and "unpacked" (source
copied) into vendor/gems
- Rails automatically finds code in vendor/gems
What is the rationale for preferring one over the other?
The main advantage I see of gems is finer-grained control over the
version of the gem you will allow your app to use (a non-issue if you