I've attached a patch that adds darwin support to QuantLib-Ruby. The
patch does two things. The first is that it converts the Binaries
array (which was an array with a single value anyways) into a string so
that it supports compiling to a .so as well as a .bundle for darwin.
The binaries variable then replaces all instances of QuantLibc.so. The
second part is that darwin now follows the linux build branches which
requires additionally modifications to the cfg['LDFLAGS'] variable.
The changes shouldn't affect the linux build but it should be test
anyways.
Mark.