Remove unnecessary ruby block for environment setting