I think I understand it as, if it is Rails 2.x
config.gem 'gem_name' # in config/environment.rb, and then rake gems:install
and in Rails 3.x
gem 'gem_name' # in Gemfile, and then bundle install
these are the two standard ways to add a gem into a Rails project.
Is there a standard way to add a plugin? It seems that it usually get installed as
script/plugin install _________________.git
and what is the standard way to include it?
(I think the current recommendation is to use gem or bundler, but what if we just need to use plugin in a particular situation?)