set environment according to rack env