Alternate extension paths

How do I load additional extension load paths that are possibly located
somewhere else on my server? Is that even possible?

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

Thanks! Worked beautifully!

Sean C. 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs