ruby: Make syntax check pick up warnings