1.

Difference Between Gem And Plugin?

Answer»

GEM

  1. Gem is a packaged ruby APPLICATION using the packaging system defined by RubyGems.
  2. Rails itself is a Gem
  3. We can install,UPGRADE and query the gem version.
  4. Gem installed for Ruby interpreter can be USED system-wide by that interpreter.

Plugin

  1. Plugin is an extension of Rails Framework.
  2. Can not be upgraded by using a command. To upgrade one have to UNINSTALL and then install upgraded version.
  3. Has to be hooked into rails application. (has to have init.rb)
  4. Have an install.rb file. 5. Can only be used application wide.

GEM

Plugin



Discussion

No Comment Found