copiousfreetime/amalgalite — pull request #22 by ged (2012-05-03 18:29:34+00:00)
Title: Handle debugging flags with debug-level in extconf.

This will handle the case where Ruby is built with extra debugging information (e.g., `-g3` or `-ggdb3`). If you don't include this, installation fails like so:

$ gem install amalgalite
Building native extensions. This could take a while...
ERROR: Error installing amalgalite:
ERROR: Failed to build gem native extension.

creating Makefile
make
compiling amalgalite3.c
clang: error: no such file or directory: '3'
make: *** [amalgalite3.o] Error 1

Thanks!