add syntax checking

For SLES 12 ruby 2.1 is in progress. And it still makes sense to check for 1.9 too.