# Distributing Plugins

**URL:** <https://www.ruby-forum.com/t/distributing-plugins/152707>\
**Category:** Rails\
**Created:** [November 6, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/distributing-plugins/152707 "2008-11-06T17:30:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [November 6, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/distributing-plugins/152707/1 "2008-11-06T17:30:03Z")

</div>

Hi all,

I’ve written a couple of rails plugins and want to be able to use  
Rails’ script/plugin script to add and remove them from my projects.  
I’ve put them in a svn repository, yet the plugin script doesn’t seem  
to recognise them. I’m doing the following:

$ script/plugin -v list --source=http://my\_repos/trunk  
Discovering plugins in http://my\_repos/trunk/  
nil

The repository has the structure  
trunk/  
plugin1/  
plugin2/  
etc.

Is there another step to get the script to recognise these plugins?

Many thanks,  
Adam

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [November 6, 2008, 5:50pm UTC](https://www.ruby-forum.com/t/distributing-plugins/152707/2 "2008-11-06T17:50:06Z")

</div>

On Nov 6, 2008, at 8:29 AM, Adam wrote:

> nil
> 
> The repository has the structure  
> trunk/  
> plugin1/  
> plugin2/  
> etc.
> 
> Is there another step to get the script to recognise these plugins?

Why don’t you just do…

./script/plugin install http://my\_repos/trunk/plugin1

?

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [November 6, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/distributing-plugins/152707/3 "2008-11-06T18:06:32Z")

</div>

Sorry, should have said, I have done that as well but I get a “Plugin  
not found error”, which is why I’m guessing that something is wrong  
with my setup.

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [November 14, 2008, 2:29am UTC](https://www.ruby-forum.com/t/distributing-plugins/152707/4 "2008-11-14T02:29:56Z")

</div>

i face the same problem, does anyone know an idea?

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [November 14, 2008, 7:48am UTC](https://www.ruby-forum.com/t/distributing-plugins/152707/5 "2008-11-14T07:48:41Z")

</div>

thanks.

---

<div class="post-metadata">

**Author:** ![adam](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4af34b/32.png) [@adam](https://www.ruby-forum.com/u/adam)\
**Post date:** [November 14, 2008, 2:36am UTC](https://www.ruby-forum.com/t/distributing-plugins/152707/6 "2008-11-14T02:36:22Z")

</div>

On 13-Nov-08, at 8:02 PM, Kang P. wrote:

> > > On Nov 6, 2008, at 8:29 AM, Adam wrote:
> > > 
> > > > $ script/plugin -v list --source=http://my\_repos/trunk
> > 
> > > Why don’t you just do…
> > 
> > > ./script/plugin installhttp://my\_repos/trunk/plugin1
> > 
> > > ?

the plugin install script scrapes this page:

[http://wiki.rubyonrails.org/rails/pages/Plugins](http://wiki.rubyonrails.org/rails/pages/Plugins)

Jodi
