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!
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