properly assign the rails_env and asset_env