Install Plugin

Hi
I am new at RoR and don’t really have much of a programming background.
I would like to know how to install a plugin.

For example, I’ev downloaded the upload_column0.2.1.zip file from ruby
forge and placed in in my vendors/plugins folder. Now what??

Any help will be appreciated.

James Cumming wrote:

Hi
I am new at RoR and don’t really have much of a programming background.
I would like to know how to install a plugin.

For example, I’ev downloaded the upload_column0.2.1.zip file from ruby
forge and placed in in my vendors/plugins folder. Now what??

Any help will be appreciated.

Usually you install plugins by either the script/plugin command or by
using piston.

But a Rails plugin is really just a subfolder to vendor/plugins
conforming to a set of conventions. As such you should be able to
install a plugin from a zipfile by unzipping it to a folder below
vendor/plugins


Cheers,

  • Jacob A.

Ok so now I have extracted the contents into
vendors/plugins/upload_column . I’ve noticed there is no install.rb ,
will the plugin work without running the install program?

James Cumming wrote:

Ok so now I have extracted the contents into
vendors/plugins/upload_column . I’ve noticed there is no install.rb ,
will the plugin work without running the install program?

Usually there’s no need to run any install programs no.

Any particular reason you’re not simply following the guidelines from
the project homepage[1]? The part about getting the plugin in
particular:

script/plugin install
svn://rubyforge.org/var/svn/uploadcolumn/tags/stable

http://uploadcolumn.rubyforge.org/


Cheers,

  • Jacob A.

I did try that, but for some reason it was not installing. therefor I
tried the manual route. Thanks fot the help. I am also wndering whether
it is not better to rather use Attachment_fu… something to look at
tomorrow.

Jacob A. wrote:

James Cumming wrote:

Ok so now I have extracted the contents into
vendors/plugins/upload_column . I’ve noticed there is no install.rb ,
will the plugin work without running the install program?

Usually there’s no need to run any install programs no.

Any particular reason you’re not simply following the guidelines from
the project homepage[1]? The part about getting the plugin in
particular:

script/plugin install
svn://rubyforge.org/var/svn/uploadcolumn/tags/stable

http://uploadcolumn.rubyforge.org/


Cheers,

  • Jacob A.