James Adam wrote:
> I believe you'll want to put it in the config.after_initialize block, somehow.
>   
That doesn't seem to do the trick; the engine plugin is loaded and 
init'ed before after_initialize. So the files are copied to the 
public_directory specified in the Engines module itself and not to my 
specified directory setting.

regards,

Bart

> On 8/24/07, Bart Duchesne <[EMAIL PROTECTED]> wrote:
>   
>> Hi,
>>
>> Maybe I'm overseeing something, what is the right place to put
>> Engines.<configparameter> (eg public paths) so that it is correctly used
>> ? (or more generally MyPlugin.config; so that init.rb of my plugin
>> behaves differently on startup if I'm running in dev mode or prod mode )
>>
>> If I put in environment.rb before the initializer it says Engines
>> constant is missing (because plugins are not loaded yet)
>>
>> If I put it after the initializer block it's too late ...
>>
>> regards,
>>
>>
>> Bart
>> --
>> NEW on aXs GUARD: SSL VPN !! (contact your reseller for more info)
>>
>> ---------------------------------------------------
>> aXs GUARD has completed security and anti-virus checks on this e-mail 
>> (http://www.axsguard.com)
>> ---------------------------------------------------
>> Able NV: ond.nr 0457.938.087
>> RPR Mechelen
>>
>> _______________________________________________
>> Engine-Users mailing list
>> [email protected]
>> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
>>
>>     
>
>
>   

_______________________________________________
Engine-Users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to