Ruby merging two excel files

Hi! Every one! Could any one help me please! I need example of Ruby code
how to open and merge two excel files and create new excel file from
those two without duplications inside. Thank you very much for the help!

Have a look at

(Windows only)

and

As for merging two files, you would have to load both files and then
write the data to one spreadsheet, depending on what you mean by
‘merge’.

supports .xlsx and .xlsm excel spreadsheets and looks like the best
option to me. The readme contains some code snippets.