Error installing ruby-debug-base19x-0.11.30.pre2.gem - Mac OS X Lion RubyMine 3.2.4

Hi everybody, I'm stuck with this error when trying to run the debug environment in rubymine:


Error running Development: <<my project name>>
Failed to install gems. Following      gems were not installed:
/Applications/RubyMine      3.2.4.app/rb/gems/ruby-debug-base19x-0.11.30.pre2.gem: Error installing      ruby-debug-base19x-0.11.30.pre2.gem:
ERROR: Failed to build gem native      extension.

/Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/bin/ruby      extconf.rb checking for rb_method_entry_t.body in method.h... ***      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=/Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/bin/ruby      --with-ruby-dir --without-ruby-dir --with-ruby-include      --without-ruby-include=${ruby-dir}/include --with-ruby-lib      --without-ruby-lib=${ruby-dir}/lib      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:368:in      `try_do': The complier failed to generate an executable file.
(RuntimeError) You have to install development tools first. from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:446:in      `try_compile' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:885:in      `block in have_struct_member' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:693:in      `block in checking_for' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:280:in      `block (2 levels) in postpone' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:254:in      `open' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:280:in      `block in postpone' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:254:in      `open' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:276:in      `postpone' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:692:in      `checking_for' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:884:in      `have_struct_member' from extconf.rb:5:in `block in ' from      extconf.rb:23:in `call' from extconf.rb:23:in `block in ' from      /Users/carlomallone/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/mkmf.rb:473:in      `with_cppflags' from extconf.rb:22:in `' Gem files will remain      installed in      /Users/carlomallone/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-base19x-0.11.30.pre2      for inspection. Results logged to      /Users/carlomallone/.rvm/gems/ruby-1.9.2-p0/gems/ruby-debug-base19x-0.11.30.pre2/ext/ruby_debug/gem_make.out


Thanks in advance for any help

Please sign in to leave a comment.