update Ruby runtime and examples to work with Ruby 1.9