Bring up to date

To get the gem working, a few updates were needed for ruby 2.1

Now, all tests pass.