use env.sh in setup script, fix env.sh for production (ruby executable)
Merge branch 'master' into release