First attempt to make gem work under Ruby 2