On Sat, Aug 28, 2010 at 5:20 AM, sharad <[email protected]> wrote:
> I setup god as a daemon/init-script in my environment which can
> potentially be given multiple .god config files to monitor. When I
> issues a god load command for one my .god config files, I saw
> following warnings.
>
> /var/www/html/omt_sandbox/releases/20100827221134/config/omt.god:2:
> warning: already initialized constant RAILS_ROOT
> /var/www/html/omt_sandbox/releases/20100827221134/config/omt.god:3:
> warning: already initialized constant RAILS_ENV
> /var/www/html/omt_sandbox/releases/20100827221134/config/omt.god:4:
> warning: already initialized constant USER
> /var/www/html/omt_sandbox/releases/20100827221134/config/omt.god:5:
> warning: already initialized constant GROUP
> /var/www/html/omt_sandbox/releases/20100827221134/config/omt.god:6:
> warning: already initialized constant RUBY_PATH
> /var/www/html/omt_sandbox/releases/20100827221134/config/omt.god:10:
> warning: already initialized constant GOD_ENVIRONMENT
>
> Does this mean, it is not a good idea to define any global constants,
> variables which may be in conflict between two different .god files?
>

how about...change the variable name to lowercase?


-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

-- 
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en.

Reply via email to