Require ruby 2+

ref  #1836
raise error if ruby 1.9.3 is detected.