Update Ruby to the latest (2.1.1) version

This change updates Ruby and some dependencies to the latest versions.
Merge branch 'update-ruby'