Forum: Ruby on Rails How to install plugins

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Kim (Guest)
on 2007-01-31 00:20
(Received via mailing list)
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
Stephen B. (Guest)
on 2007-01-31 00:26
(Received via mailing list)
That command looks fine. It should be run in the root directory of
your application.

Steve
Kim (Guest)
on 2007-01-31 00:39
(Received via mailing list)
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)
Andy K. (Guest)
on 2007-01-31 01:17
(Received via mailing list)
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-com...
for more details.

Kim schrieb:
Kim (Guest)
on 2007-01-31 02:02
(Received via mailing list)
Great thanks - I got it now :)
jpease (Guest)
on 2007-01-31 04:10
(Received via mailing list)
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
This topic is locked and can not be replied to.