Since Ubuntu still manages to ship Ruby 1.9.3 I instantly came back to this script. Just worked as expected, pretty cool. ( I only tested regular ruby )