Wrap ruby in braces so guards are done right
Merge pull request #670 from caskdata/hotfix/ruby

Wrap ruby in braces so guards are done right