You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on Mavericks trying to use the installer and got a prompt asking to raise and issue here.
I tried using the console command: gem install rails too but that failed with:
Fetching: i18n-0.6.9.gem (100%)
Successfully installed i18n-0.6.9
Fetching: multi_json-1.8.2.gem (100%)
Successfully installed multi_json-1.8.2
Fetching: tzinfo-0.3.38.gem (100%)
Successfully installed tzinfo-0.3.38
Fetching: atomic-1.1.14.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/usr/local/Cellar/ruby/2.0.0-p195/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
--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/Cellar/ruby/2.0.0-p195/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}/
/usr/local/Cellar/ruby/2.0.0-p195/lib/ruby/2.0.0/mkmf.rb:431:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/local/Cellar/ruby/2.0.0-p195/lib/ruby/2.0.0/mkmf.rb:516:in `try_link0'
from /usr/local/Cellar/ruby/2.0.0-p195/lib/ruby/2.0.0/mkmf.rb:814:in `try_run'
from extconf.rb:26:in `<main>'
Gem files will remain installed in /usr/local/Cellar/ruby/2.0.0-p195/lib/ruby/gems/2.0.0/gems/atomic-1.1.14 for inspection.
Results logged to /usr/local/Cellar/ruby/2.0.0-p195/lib/ruby/gems/2.0.0/gems/atomic-1.1.14/ext/gem_make.out
The last parts of my console contents (the log was too big for GitHub) are:
I think something is screwy with my machine. I tried gem install rails but I get the error You have to install development tools first.
So I do that by downloading from Apple, or by xcode-select --install as suggested in the docs, but not joy. I'm pretty sure it's my setup. If I find out how to do it I'll post back.
I'm on Mavericks trying to use the installer and got a prompt asking to raise and issue here.
I tried using the console command: gem install rails too but that failed with:
The last parts of my console contents (the log was too big for GitHub) are:
The text was updated successfully, but these errors were encountered: