- GEM
- Gem is a packaged ruby application using the packaging system defined by RubyGems.
- Rails itself is a Gem
- We can install, upgrade and query the gem version.
- Gem installed for Ruby interpreter can be used system-wide by that interpreter.
- Plugin
- Plugin is an extension of Rails Framework.
- Can not be upgraded by using a command. To upgrade one have to uninstall and then install upgraded version.
- Has to be hooked into rails application. (has to have
init.rb
)
- Have an
install.rb
file.
- Can only be used application wide.