make erb template for environment more readable

thanks @coderanger