Is there a way to get more clues about the compilation problem? It definitely seems like libm and zlib are installed. mkmf.log: http://gist.github.com/45885 gem_make.out: http://gist.github.com/45886