apply ruby patchsets
Merge pull request #137 from mariussturm/master

Fix rvm_ruby patch support.