adds support for Ruby 2