Check MONGOID_ENV first to get the env_name