[COOK-3496] Remove unnecessary ruby block for environment setting

https://tickets.opscode.com/browse/COOK-3496