kim
January 30, 2007, 11:20pm
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
kim
January 30, 2007, 11:26pm
2
That command looks fine. It should be run in the root directory of
your application.
Steve
kim
January 30, 2007, 11:39pm
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)
kim
January 31, 2007, 12:17am
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
January 31, 2007, 3:10am
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
kim
January 31, 2007, 1:02am
6
Great thanks - I got it now