rails_env could be a symbol, cast to string.