How to apply spreadsheet-excel-ole-storage.patch and parseex

Hi,

I am going to export data to excel file from my project.
I am using spreadsheet-excel (0.3.5.1) gem to read/write data in excel.
I got #<MaxSizeError: MaxSizeError> error when exporting some amount of
data to excel.
when i am searching for the above problem , i got
spreadsheet-excel-ole-storage.patch and parseexcel-ole-storage.patch as
a solution from GitHub - aquasync/ruby-ole: A library for easy read/write access to OLE compound documents for Ruby.
(i got the patches from
GitHub - aquasync/ruby-ole: A library for easy read/write access to OLE compound documents for Ruby).

Now i just want to know how to use these patch ???

Please guide me.

Regards,
Manivannan