set rails env for precompile