ruby 1.9.3-p547 support
Merge pull request #2856 from hone/master

ruby 1.9.3-p547 support
added patches for some updated ruby versions
Merge pull request #2858 from skaes/various-patch-updates

added patches for some updated ruby versions