SyntaxError fixes
Landing #1749 - Fixes Ruby 1.8 Syntax errors

[Closes #1749]