Skip to content

Instantly share code, notes, and snippets.

@kuon
Created January 16, 2011 13:40
Show Gist options
  • Save kuon/781792 to your computer and use it in GitHub Desktop.
Save kuon/781792 to your computer and use it in GitHub Desktop.
Installing pg (0.10.0) with native extensions /opt/ruby/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/opt/ruby/bin/ruby extconf.rb
Gem files will remain installed in /we/cms/shared/bundle/ruby/1.9.1/gems/pg-0.10.0 for inspection.
Results logged to /we/cms/shared/bundle/ruby/1.9.1/gems/pg-0.10.0/ext/gem_make.out
from /opt/ruby/lib/ruby/1.9.1/rubygems/installer.rb:486:in `block in build_extensions'
from /opt/ruby/lib/ruby/1.9.1/rubygems/installer.rb:446:in `each'
from /opt/ruby/lib/ruby/1.9.1/rubygems/installer.rb:446:in `build_extensions'
from /opt/ruby/lib/ruby/1.9.1/rubygems/installer.rb:198:in `install'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/source.rb:95:in `install'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/installer.rb:55:in `block in run'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `block in each'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/spec_set.rb:12:in `each'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/installer.rb:44:in `run'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/installer.rb:8:in `install'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/cli.rb:225:in `install'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/vendor/thor/task.rb:22:in `run'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/lib/bundler/vendor/thor/base.rb:389:in `start'
from /opt/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.7/bin/bundle:13:in `<top (required)>'
from /opt/ruby/bin/bundle:19:in `load'
from /opt/ruby/bin/bundle:19:in `<main>'
-bash-4.1$ cat /we/cms/shared/bundle/ruby/1.9.1/gems/pg-0.10.0/ext/gem_make.out
/opt/ruby/bin/ruby extconf.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment