Sent from my iPhone
On Sep 25, 2010, at 5:43 PM, Pito Salas
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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
>
> Thanks much!
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.