for if statements with regular expressions the comparisons need to be strings - with rbenv ruby is specified as 2.0.0 which breaks this regex comparison - so wrapping those variables explicitly as strings