Jeff Davis  committed b86f0f7

* backtracked a small piece of the patch, to catch
the condition where pg_config is not in the PATH
on posix platforms.

  • Participants
  • Parent commits b3a05d0

Comments (0)

Files changed (2)

File ext/extconf.rb

 require 'mkmf'
-	`pg_config --version`
-rescue Errno::ENOENT
+	IO.popen("pg_config --version").readline.chomp
 	$stderr.write("ERROR: can't find pg_config.\n")
 	$stderr.write("HINT: Make sure pg_config is in your PATH\n")
 	exit 1

File pg.gemspec

Empty file removed.