From e1a44f14a68d9941a078a6e6f651a8f2632acced Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Mon, 21 Nov 2011 17:41:35 -0800 Subject: [PATCH] sane defaults for RACK_ENV and NODE_ENV --- zsh/zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index c3c2df1..29329f3 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -17,6 +17,16 @@ if mac; then # Don't pollute tar archives with ._ files (Apple double files) export COPYFILE_DISABLE=true + + # Develop on Mac + export RACK_ENV="development" + export NODE_ENV="development" +fi + +if linux; then + # Deploy on Linux + export RACK_ENV="production" + export NODE_ENV="production" fi cdpath=(~)