set rails_env when precompiling assets