Ruby Forum Radiant CMS > Alternate extension paths

Posted by Arik Jones (imakethings)
on 05.05.2008 22:46
How do I load additional extension load paths that are possibly located
somewhere else on my server? Is that even possible?
Posted by Sean Cribbs (seancribbs)
on 05.05.2008 23:37
(Received via mailing list)
Arik,

By default, Radiant uses extension paths from your project and from the
Radiant source (either in vendor or the gem).  To add a path to be
searched for extensions, add this line inside the initialization block
in config/environment.rb:

config.extension_paths << "/path/to/your/extensions"

Subdirectories of that path will be searched for extensions.

Sean
Posted by Arik Jones (imakethings)
on 14.05.2008 20:13
Thanks! Worked beautifully!

Sean Cribbs wrote:
> Arik,
> 
> By default, Radiant uses extension paths from your project and from the
> Radiant source (either in vendor or the gem).  To add a path to be
> searched for extensions, add this line inside the initialization block
> in config/environment.rb:
> 
> config.extension_paths << "/path/to/your/extensions"
> 
> Subdirectories of that path will be searched for extensions.
> 
> Sean