Fix ruby syntax error
Merge pull request #5140 from camelmasa/fix-syntax-error

Fix ruby syntax error