APPLICATION_ENV is undefined