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

added patches for some updated ruby versions