Skip to content

Instantly share code, notes, and snippets.

Created December 21, 2015 05:08
Show Gist options
  • Save anonymous/cc46b700a02f98776c40 to your computer and use it in GitHub Desktop.
Save anonymous/cc46b700a02f98776c40 to your computer and use it in GitHub Desktop.
sudo gem install pg
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20151220-18690-c2lhve.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/share/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /usr/local/share/gems/gems/pg-0.18.4 for inspection.
Results logged to /usr/local/lib64/gems/ruby/pg-0.18.4/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment