use env.sh in setup script, fix env.sh for production (ruby executable)