# Requiring an extension from another one

**URL:** <https://www.ruby-forum.com/t/requiring-an-extension-from-another-one/108056>\
**Category:** Radiant CMS\
**Created:** [June 28, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/requiring-an-extension-from-another-one/108056 "2007-06-28T20:01:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_OSBrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Post date:** [June 28, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/requiring-an-extension-from-another-one/108056/1 "2007-06-28T20:01:12Z")

</div>

Hi everyone,

If I want to make an extension that depends on another one being present  
and  
activated, what’s the best way to go about this?  
For example, I’m putting together something that requires the RecordTags  
extension, and in testing it never seems to activate if I just put in a  
require like this: require  
“vendor/extensions/record\_tags/record\_tags\_extension”

Do I need to actually call RecordTagsExtension#activate in my  
extension’s  
activate method? Anything else I need to make sure of?

Thanks,  
Andrew
