Skip to content

Instantly share code, notes, and snippets.

@jathayde
Created May 7, 2010 22:05
Show Gist options
  • Save jathayde/394049 to your computer and use it in GitHub Desktop.
Save jathayde/394049 to your computer and use it in GitHub Desktop.
Soho:beekeep jathayde$ bundle install
Updating git://github.com/thoughtbot/shoulda
Updating git://github.com/thoughtbot/factory_girl
Fetching source index from http://gemcutter.org/
Updating git://github.com/thoughtbot/factory_girl
Updating git://github.com/thoughtbot/shoulda
Using rake (0.8.7) from bundler gems
Using abstract (1.0.0) from bundler gems
Using builder (2.1.2) from bundler gems
Using i18n (0.3.7) from bundler gems
Using memcache-client (1.8.3) from bundler gems
Using tzinfo (0.3.20) from bundler gems
Using activesupport (3.0.0.beta3) from bundler gems
Using activemodel (3.0.0.beta3) from bundler gems
Using erubis (2.6.5) from bundler gems
Using rack (1.1.0) from bundler gems
Using rack-mount (0.6.3) from bundler gems
Using rack-test (0.5.3) from bundler gems
Using actionpack (3.0.0.beta3) from bundler gems
Using mime-types (1.16) from bundler gems
Using polyglot (0.3.1) from bundler gems
Using treetop (1.4.5) from bundler gems
Using mail (2.2.0) from bundler gems
Using text-hyphen (1.0.0) from bundler gems
Using text-format (1.0.0) from bundler gems
Using actionmailer (3.0.0.beta3) from bundler gems
Using arel (0.3.3) from bundler gems
Using activerecord (3.0.0.beta3) from bundler gems
Using activeresource (3.0.0.beta3) from bundler gems
Using bundler (0.9.25) from bundler gems
Using factory_girl (1.2.3) from git://github.com/thoughtbot/factory_girl (at rails3)
Using faker (0.3.1) from bundler gems
Using mocha (0.9.8) from bundler gems
Installing pg (0.9.0) from .gem files at /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/cache with native extensions /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:482:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/local/bin/ruby extconf.rb
checking for pg_config... no
=========== WARNING ===========
You are building this extension on OS X without setting the
ARCHFLAGS environment variable, and pg_config wasn't found in
your PATH. If you are seeing this message, that means that the
build will probably fail.
If it does, you can correct this by either including the path
to 'pg_config' in your PATH or setting the environment variable
ARCHFLAGS to '-arch <arch>' before building.
For example:
(in bash) $ export PATH=/opt/local/lib/postgresql84/bin:$PATH
$ export ARCHFLAGS='-arch x86_64'
(in tcsh) % set path = ( /opt/local/lib/postgresql84/bin $PATH )
% setenv ARCHFLAGS '-arch x86_64'
Then try building again.
===================================
MacOS X build: fixing architecture flags:
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby
--with-pg
--without-pg
--with-pg-config
--without-pg-config
--with-pg-dir
--without-pg-dir
--with-pg-include
--without-pg-include=${pg-dir}/include
--with-pg-lib
--without-pg-lib=${pg-dir}/lib
--enable-static-build
--disable-static-build
Gem files will remain installed in /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/pg-0.9.0 for inspection.
Results logged to /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/pg-0.9.0/ext/gem_make.out
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:445:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:445:in `build_extensions'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/installer.rb:197:in `install'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/source.rb:170:in `install'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/installer.rb:34:in `run'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/spec_set.rb:12:in `each'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/spec_set.rb:12:in `each'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/installer.rb:21:in `run'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/installer.rb:6:in `install'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/cli.rb:90:in `install'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/vendor/thor/task.rb:33:in `send'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/vendor/thor/task.rb:33:in `run'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/vendor/thor/invocation.rb:109:in `invoke'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/vendor/thor/invocation.rb:116:in `call'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/vendor/thor/invocation.rb:116:in `invoke'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/vendor/thor.rb:137:in `start'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/vendor/thor/base.rb:378:in `start'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/lib/bundler/vendor/thor.rb:124:in `start'
from /Users/jathayde/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.25/bin/bundle:13
from /usr/local/bin/bundle:19:in `load'
from /usr/local/bin/bundle:19
Soho:beekeep jathayde$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment