Debugging in RubyMine 2.0.2

I'm working with RubyMine 2.0.2 and Ruby 1.8.6

When I try to debug I get the following error:

Error running Development: depot: Failed to install gems. Following gems were not installed:
C:/Program Files (x86)/JetBrains/RubyMine 2.0.2/rb/gems/ruby-debug-base-0.10.3-mswin32.gem:  Error installing ruby-debug-base-0.10.3-mswin32.gem:
 ERROR: Failed to build gem native extension.  C:/Ruby186/bin/ruby.exe extconf.rb creating Makefile  make 'make' is not recognized as an internal or external command, operable program or batch file.   Gem files will remain installed in C:/Ruby186/lib/ruby/gems/1.8/gems/linecache-0.43 for inspection. Results logged to C:/Ruby186/lib/ruby/gems/1.8/gems/linecache-0.43/ext/gem_make.out Building native extensions.

Help, please!
1 comment
Comment actions Permalink

I also tried running Rubymine 2.0.2 with ruby 1.9.1. (Windows 7 x64) When I try with 1.9.1 I get this error:

Error running path_to_enlightenment: Failed to install gems. Following gems were not installed:
ruby-debug-ide19 (0.4.12):  Error installing ruby-debug-ide19:
 ERROR: Failed to build gem native extension.  C:/Ruby191/bin/ruby.exe extconf.rb checking for vm_core.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=C:/Ruby191/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 C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:364:in `try_do': The complier failed to generate an executable file. (RuntimeError) You have to install development tools first.  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:433:in `try_cpp'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:811:in `block in have_header'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:670:in `block in checking_for'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:276:in `block (2 levels) in postpone'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:250:in `open'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:276:in `block in postpone'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:250:in `open'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:272:in `postpone'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:669:in `checking_for'  from C:/Ruby191/lib/ruby/1.9.1/mkmf.rb:810:in `have_header'  from extconf.rb:15:in `block in <main>'  from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:18:in `call'  from C:/Ruby191/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:18:in `create_makefile_with_core'  from extconf.rb:20:in `<main>'   Gem files will remain installed in C:/Ruby191/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11 for inspection. Results logged to C:/Ruby191/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/trace_nums/gem_make.out Building native extensions.  This could take a while...

Thanks for any help!

Please sign in to leave a comment.