upgrade to ruby 2.1.2, resolves #258, #288, and #289