Unlike a lot of other gems, I was pleasantly surprised that I could actually run ruby-pg's test suite successfully. However, I had to tweak the build system to use shorter file names for the build directory because the test suite was trying to create a UNIX-domain socket longer than the maximum of 107.