# Where does script/plugin cache its server list?

**URL:** <https://www.ruby-forum.com/t/where-does-script-plugin-cache-its-server-list/62335>\
**Category:** Rails\
**Created:** [June 2, 2006, 8:22pm UTC](https://www.ruby-forum.com/t/where-does-script-plugin-cache-its-server-list/62335 "2006-06-02T20:22:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![carmen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@carmen](https://www.ruby-forum.com/u/carmen)\
**Post date:** [June 2, 2006, 8:22pm UTC](https://www.ruby-forum.com/t/where-does-script-plugin-cache-its-server-list/62335/1 "2006-06-02T20:22:24Z")

</div>

tiring of manually googling for SVN urls then checking out modules into  
/usr/share/ruby and linking it into plugins/, ive tried script/plugin  
again. it predictable fails here:

./script/plugin install acts\_as\_ferret  
svn: URL ‘svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins’  
non-existent in that revision  
./script/…/config/…/vendor/rails/railties/lib/commands/plugin.rb:758:in  
`parse!': undefined local variable or method`name’ for  
#Commands::Install:0x2af381b6fa90 (NameError)  
from  
./script/…/config/…/vendor/rails/railties/lib/commands/plugin.rb:469:in  
`parse!' from ./script/../config/../vendor/rails/railties/lib/commands/plugin.rb:485:in`parse!’  
from  
./script/…/config/…/vendor/rails/railties/lib/commands/plugin.rb:907  
from  
/usr/lib64/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require’  
from ./script/plugin:3

im thinking maybe the laszlo thing is fouling it up, but maybe thats  
just a warning? in any case, grep -ir laszlo finds nothing of interest  
to prune …

m cracklog # ./script/plugin unsource  
svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins  
failed: svn://rubyforge.org/var/svn/laszlo-plugin/rails/plugins  
Removed 0 repositories.  
m cracklog # ./script/plugin unsource  
svn://rubyforge.org/var/svn/laszlo-plugin/rails/  
failed: svn://rubyforge.org/var/svn/laszlo-plugin/rails/  
Removed 0 repositories.  
m cracklog # ./script/plugin unsource  
svn://rubyforge.org/var/svn/laszlo-plugin/  
failed: svn://rubyforge.org/var/svn/laszlo-plugin/  
Removed 0 repositories.

so i guess its write my own plugin script…or figure this out. any  
ideas?

---

<div class="post-metadata">

**Author:** ![carmen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@carmen](https://www.ruby-forum.com/u/carmen)\
**Post date:** [June 2, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/where-does-script-plugin-cache-its-server-list/62335/2 "2006-06-02T21:42:53Z")

</div>

Mine is in ~/.rails-plugin-sources

–

Ray

---

<div class="post-metadata">

**Author:** ![carmen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@carmen](https://www.ruby-forum.com/u/carmen)\
**Post date:** [June 2, 2006, 9:52pm UTC](https://www.ruby-forum.com/t/where-does-script-plugin-cache-its-server-list/62335/3 "2006-06-02T21:52:06Z")

</div>

I wrote:

> Mine is in ~/.rails-plugin-sources

That’s not a good answer. It answers the question you asked, but is  
irrelevant. What you should do is in the output of

script/plugin -h

That will let you read and write you plugin-sources file and otherwise  
manage where you get you plugins.

–

Ray

---

<div class="post-metadata">

**Author:** ![carmen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@carmen](https://www.ruby-forum.com/u/carmen)\
**Post date:** [June 2, 2006, 11:06pm UTC](https://www.ruby-forum.com/t/where-does-script-plugin-cache-its-server-list/62335/4 "2006-06-02T23:06:54Z")

</div>

> That’s not a good answer. It answers the question you asked, but is  
> irrelevant. What you should do is in the output of
> 
> script/plugin -h

yeah. i was able to get it going by using the SVN url listed on the  
acts\_as\_ferret page, since the one found in discover wasnt working for  
whatever reason…

however,  
./cript/console  
Loading development environment.

> > Entity.find\_by\_contents(“pcp”)  
> > ./script/…/config/…/config/…/vendor/plugins/acts\_as\_ferret/lib/acts\_as\_ferret.rb:226:  
> > [BUG] Segmentation fault  
> > ruby 1.8.4 (2006-05-27) [x86\_64-linux]  
> > Aborted (core dumped)

i will be announce an ultra-simple and ‘probably not good enough for  
discriminating users’ pure-rails search in the next few days, since  
ferret segfaults, and acts\_as\_hyperestraier fails to return results from  
its supposedly still intact index (according to its web interface) after  
a reboot…

---

<div class="post-metadata">

**Author:** ![carmen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@carmen](https://www.ruby-forum.com/u/carmen)\
**Post date:** [June 2, 2006, 11:24pm UTC](https://www.ruby-forum.com/t/where-does-script-plugin-cache-its-server-list/62335/5 "2006-06-02T23:24:50Z")

</div>

carmen wrote:

> however,  
> ./cript/console  
> Loading development environment.
> 
> > > Entity.find\_by\_contents(“pcp”)  
> > > ./script/…/config/…/config/…/vendor/plugins/acts\_as\_ferret/lib/acts\_as\_ferret.rb:226:  
> > > [BUG] Segmentation fault  
> > > ruby 1.8.4 (2006-05-27) [x86\_64-linux]  
> > > Aborted (core dumped)

I believe that this error occurs if you have not installed the ferret  
gem. This is documented on the “Before Installation” step on this page:

[http://projects.jkraemer.net/acts\_as\_ferret](http://projects.jkraemer.net/acts_as_ferret)

–

Ray

---

<div class="post-metadata">

**Author:** ![carmen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a9adbd/32.png) [@carmen](https://www.ruby-forum.com/u/carmen)\
**Post date:** [June 3, 2006, 1:23am UTC](https://www.ruby-forum.com/t/where-does-script-plugin-cache-its-server-list/62335/6 "2006-06-03T01:23:37Z")

</div>

This doesn’t directly answer your question :), but it may be helpful  
just the same. Instead of ‘manually googling’ for plugin URLs, go to  
[http://www.agilewebdevelopment.com/plugins/](http://www.agilewebdevelopment.com/plugins/) to  
quickly find plugins. Once you found one, you can then run ‘script/  
plugin install ’ to fetch and install the plugin.

Maybe one day I’ll get around to writing a nice little UI for script/  
plugin that can do the search and let you pick ones to install from  
the list. Until then, at least you can save yourself a little bit of  
time by using the rails plugin directory I created.

–  
Benjamin C.  
[http://www.bencurtis.com/](http://www.bencurtis.com/)  
[http://www.tesly.com/](http://www.tesly.com/) – Collaborative test case management  
[http://www.agilewebdevelopment.com/](http://www.agilewebdevelopment.com/) – Resources for the Rails community
