Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't install eventmachine on mac osx snow leopard
    text
    copied!<p>I've searched for this issue and kept finding resources related to PC. Every time I try to install the eventmachine gem I get this error:</p> <blockquote> <p>Building native extensions. This could take a while... ERROR: Error installing eventmachine: ERROR: Failed to build gem native extension.</p> <p>/usr/local/bin/ruby extconf.rb checking for rb_trap_immediate in ruby.h,rubysig.h... <strong>* extconf.rb failed *</strong> 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.</p> <p>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 /usr/local/lib/ruby/1.9.1/mkmf.rb:368:in <code>try_do': The complier failed to generate an executable file. (RuntimeError) You have to install development tools first. from /usr/local/lib/ruby/1.9.1/mkmf.rb:446:in </code>try_compile' from /usr/local/lib/ruby/1.9.1/mkmf.rb:568:in <code>try_var' from /usr/local/lib/ruby/1.9.1/mkmf.rb:816:in </code>block in have_var' from /usr/local/lib/ruby/1.9.1/mkmf.rb:693:in <code>block in checking_for' from /usr/local/lib/ruby/1.9.1/mkmf.rb:280:in </code>block (2 levels) in postpone' from /usr/local/lib/ruby/1.9.1/mkmf.rb:254:in <code>open' from /usr/local/lib/ruby/1.9.1/mkmf.rb:280:in </code>block in postpone' from /usr/local/lib/ruby/1.9.1/mkmf.rb:254:in <code>open' from /usr/local/lib/ruby/1.9.1/mkmf.rb:276:in </code>postpone' from /usr/local/lib/ruby/1.9.1/mkmf.rb:692:in <code>checking_for' from /usr/local/lib/ruby/1.9.1/mkmf.rb:815:in </code>have_var' from extconf.rb:16:in `'</p> <p>Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10 for inspection. Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/ext/gem_make.out</p> </blockquote> <p>It seems to break while building c extensions and I've tried various solutions like <a href="http://kleeschulte.blogspot.com/2010/03/mac-os-x-leopard-installing-ruby-gem.html" rel="nofollow">this one</a> but no luck.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload