Yes, that should work for changing the env for a single command. If
you want something a little more permanent (until you end the
session), you can do something like this:

$ export RAILS_ENV="production"
$ god -c config/xxx.god

pete

On Sep 22, 2:49 am, muni <[email protected]> wrote:
> Hi,
>
> I was wondering if it is possible to set the rails environment from
> the command prompt? like RAILS_ENV=production god -c config/xxx.god or
> any other way?
>
> Cheers
--~--~---------~--~----~------------~-------~--~----~
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