Topic: Plugin vs. Gem vs. Tasks ?!

Can someone explain me what is really the difference between a gem and a plugin ?

In the tutorials section there is a topic to how write a plugin (http://railsforum.com/viewtopic.php?id=682) but how to write a gem.

And is all what a gem/plugin can be described in a task file ? (to use with rake)

Thank you

Re: Plugin vs. Gem vs. Tasks ?!

In the simplest terms, gems are for Ruby, plugins are for Rails.  For example, rmagick is a ruby gem, because it can be used outside of rails in any ruby application.  However file_column is a rails plugin that uses rmagick, and it's only usable in a Rails application.

Tasks are separate.  The are simply scripts that you can have rake run, usually to help manage the application.