added patches for some updated ruby versions

could you please merge?