Wednesday, June 16, 2010

Ruby on Rails: Difference between plugin and gem

Ruby Gem and Plugin are both packaging systems. The main difference in their scope in which they are effective.

1) Gem is system dependent and plugin is application dependent.

2) Installation of gem will available through out all application run on interpretor. where as plugin available only to that application it was installed.

3) gem can be managed using gem command. plugin can be installed only after application is created.

4) gem can be uploaded to new version using command. where as plugins cannot be upgraded, they should be uninstall-ed and installed.


If you find this useful, would you like to buy me a drink? No matter more or less, it will be an encouragement for me to go further. Thanks in advance!! =)

No comments:

Post a Comment