Skip to content

Instantly share code, notes, and snippets.

@marr
Created March 26, 2015 22:44
Show Gist options
  • Save marr/fadca98fb601dfac05fa to your computer and use it in GitHub Desktop.
Save marr/fadca98fb601dfac05fa to your computer and use it in GitHub Desktop.
$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Using rake 10.4.2
Using CFPropertyList 2.3.0
Using sass 3.4.13
Using thor 0.19.1
Using bourbon 4.2.1
Using builder 3.2.2
Using capistrano-stats 1.1.1
Using i18n 0.7.0
Using colorize 0.7.5
Using net-ssh 2.9.2
Using net-scp 1.2.1
Using sshkit 1.6.1
Using capistrano 3.3.5
Using excon 0.44.1
Using fission 0.5.0
Using formatador 0.2.5
Using mime-types 2.4.3
Using fog-core 1.28.0
Using mini_portile 0.6.2
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/dmarr/.rvm/rubies/ruby-2.1.5/bin/ruby -r ./siteconf20150326-56129-1a0wib.rb extconf.rb
checking if the C compiler accepts ... *** 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
--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=/Users/dmarr/.rvm/rubies/ruby-2.1.5/bin/ruby
--help
--clean
/Users/dmarr/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/dmarr/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/mkmf.rb:571:in `block in try_compile'
from /Users/dmarr/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/mkmf.rb:522:in `with_werror'
from /Users/dmarr/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/mkmf.rb:571:in `try_compile'
from extconf.rb:80:in `nokogiri_try_compile'
from extconf.rb:87:in `block in add_cflags'
from /Users/dmarr/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/mkmf.rb:621:in `with_cflags'
from extconf.rb:86:in `add_cflags'
from extconf.rb:337:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /Users/dmarr/.rvm/gems/ruby-2.1.5/gems/nokogiri-1.6.6.2 for inspection.
Results logged to /Users/dmarr/.rvm/gems/ruby-2.1.5/extensions/x86_64-darwin-14/2.1.0/nokogiri-1.6.6.2/gem_make.out
An error occurred while installing nokogiri (1.6.6.2), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.6.2'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment