sane defaults for RACK_ENV and NODE_ENV

This commit is contained in:
Sami Samhuri 2011-11-21 17:41:35 -08:00
parent 5d2cf1594c
commit e1a44f14a6

View file

@ -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=(~)