How to install plugins


#1

This is my first attempt at installing a plugin, please help. I am
using RadRails with Instant Rails. From the ruby console I tried (per
documentation)

ruby script/plugin install svn://rubyforge.org//var/svn/fckeditorp/
trunk/fckeditor

I get this:
ruby: No such file or directory – script/plugin (LoadError)

what am I doing wrong? Also from what directory do I run the script?

Thanks in advance -K


#2

That command looks fine. It should be run in the root directory of
your application.

Steve


#3

Please what is the root directory of an application? I tried running
the script at lots of different locations only to get the same error?
(sorry for the newbe questions)


#4

The application root is where the app, db, config, vendor and (of
course) script folders (among others) are located.

Ex. (on Windows) would be like… “C:\src\my_apps\this_app”

You may also need to do the “ruby script/plugin discover” to add
sources.

See
http://nubyonrails.com/articles/2006/05/04/the-complete-guide-to-rails-plugins-part-i
for more details.

Kim schrieb:


#5

You may also want to check out RaPT, Rails Plugin Tool:

http://rapt.rubyforge.org/

I just discovered it recently at it has some nice features.

JP


#6

Great thanks - I got it now :slight_smile: