ruby: add detection of Ruby 2.1