Kim
(Kim)
January 30, 2007, 10:18pm
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
That command looks fine. It should be run in the root directory of
your application.
Steve
Kim
(Kim)
January 30, 2007, 10:37pm
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)
Andy_Koch
(Andy Koch)
January 30, 2007, 11:16pm
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:
Kim
(Kim)
January 31, 2007, 12:01am
5
Great thanks - I got it now
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.