bump ruby version to 2.1.2, fixes build failure related to readline
bump ruby version in spec test