Use ruby instead of ruby1.8, seems to work with 2.1.5 too
Typo fix
Write the warning to stderr and exit with 1