change from rails_env to app_env