removed line triggering ruby undefined method env