Add check for ruby version (#2)