First attempt to make gem work on Ruby 2