Update ruby version to 2.1.2

Tested on Ubuntu 12.04 LTS and 14.04 LTS