Skip to content

Instantly share code, notes, and snippets.

@ToreySound
Created September 24, 2013 20:52
Show Gist options
  • Save ToreySound/6691048 to your computer and use it in GitHub Desktop.
Save ToreySound/6691048 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb
*** 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/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/bin/ruby
--with-atomic_reference-dir
--without-atomic_reference-dir
--with-atomic_reference-include
--without-atomic_reference-include=${atomic_reference-dir}/include
--with-atomic_reference-lib
--without-atomic_reference-lib=${atomic_reference-dir}/lib
/Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0'
from /Users/toreystriffolino/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/mkmf.rb:712:in `try_run'
from extconf.rb:26:in `<main>'
Gem files will remain installed in /Users/toreystriffolino/.rvm/gems/ruby-1.9.3-p448@rails3tutorial2ndEd/gems/atomic-1.1.14 for inspection.
Results logged to /Users/toreystriffolino/.rvm/gems/ruby-1.9.3-p448@rails3tutorial2ndEd/gems/atomic-1.1.14/ext/gem_make.out
Macintosh:~ toreystriffolino$ brew tap homebrew/versions
Cloning into '/usr/local/Library/Taps/homebrew-versions'...
remote: Counting objects: 1212, done.
remote: Compressing objects: 100% (739/739), done.
remote: Total 1212 (delta 660), reused 985 (delta 473)
Receiving objects: 100% (1212/1212), 317.03 KiB | 0 bytes/s, done.
Resolving deltas: 100% (660/660), done.
Checking connectivity... done
Tapped 111 formula
Macintosh:~ toreystriffolino$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment