Easy question: what’s the ‘official’ way to add a new RAILS_ENV, and
invoke it when running the server with script/server. Is there a best
practice?
Thanks much!
Easy question: what’s the ‘official’ way to add a new RAILS_ENV, and
invoke it when running the server with script/server. Is there a best
practice?
Thanks much!
Sent from my iPhone
On Sep 25, 2010, at 5:43 PM, Pito S. [email protected] wrote:
Easy question: what’s the ‘official’ way to add a new RAILS_ENV, and
invoke it when running the server with script/server. Is there a best
practice?
Pito, I have always created a specialized environment within the
config/environments directory. For example, my-development.rb which
would get invoked as follows:
script/server -e my-development
Next, I would recommend reading the available docs locally as well as
online.
Good luck,
-Conrad
Conrad,
Thanks!
Pito
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs