# Writing extensions - where to put plugins?

**URL:** <https://www.ruby-forum.com/t/writing-extensions-where-to-put-plugins/147258>\
**Category:** Radiant CMS\
**Created:** [August 29, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/writing-extensions-where-to-put-plugins/147258 "2008-08-29T22:17:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christoforever](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6de8d8/32.png) [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Post date:** [August 29, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/writing-extensions-where-to-put-plugins/147258/1 "2008-08-29T22:17:16Z")

</div>

The extension I’m working on requires restful\_authentication and I’ve  
currently got it in /vendor/plugins. I’d rather include the whole  
thing in my extension.

Is there any kind of ‘etiquette’ associated with that?

Can I just dump it into /vendor/extensions/my\_extension/vendor/plugins  
and away we go? (I noticed that the Paperclipped extension puts it in  
that location)

-C

---

<div class="post-metadata">

**Author:** ![christoforever](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6de8d8/32.png) [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Post date:** [September 6, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/writing-extensions-where-to-put-plugins/147258/2 "2008-09-06T21:39:35Z")

</div>

On Fri, Aug 29, 2008 at 1:16 PM, Christopher D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> The extension I’m working on requires restful\_authentication and I’ve  
> currently got it in /vendor/plugins. I’d rather include the whole thing in  
> my extension.
> 
> Is there any kind of ‘etiquette’ associated with that?
> 
> Can I just dump it into /vendor/extensions/my\_extension/vendor/plugins and  
> away we go? (I noticed that the Paperclipped extension puts it in that  
> location)

Yup, just put it it in that folder and it should work. Not sure what  
happens if two extensions include the same plugin though.

Joe
