You can specify it in your watcher like:
God.watch do |w|
w.name = 'xxx'
w.env = { 'RAILS_ENV' => 'production' }
end
On Dec 18, 3:19 am, Claudio Poli <[email protected]> wrote:
> On 9 Nov, 18:31, Eric <[email protected]> wrote:
>
> > I added a "w.env" option that takes a hash:
>
> > w.env = { 'RAILS_ENV' => production }
>
> > You should have it if you're running 0.7.8 or higher.
>
> sorry, can you be a little more specific?
> thanks
--
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.