Ruby bindings to the GNU Multiple Precision Arithmetic Library
$ cd ext
$ ruby extconf.rb
$ make
$ make install
It seems that srawlins has been developing libgmp-ruby over the last few years. You probably want his version: https://github.com/srawlins/gmp/