failed to install gem required for stock debugging
I'm dead in the water, can't even debug a simple hello world type of thing. Maybe I mucked up my install. I installed to USB and changed my idea.properties as suggested. BTW, I'm running on Win 7 Pro 64 if that makes a diff.
thanks in advance.
-----------
I get the following error upon attempting to debug which attempts to load a gem required for stock debugging. See here:
Version:0.9 StartHTML:-1 EndHTML:-1 StartFragment:0000000111 EndFragment:0000006109
Error running my_new_class:
Failed to install gems. Following gems were not installed:
linecache19 (0.5.11): Error installing linecache19:
ERROR: Failed to build gem native extension. K:/Apps/Ruby192/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=K:/Apps/Ruby192/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 K:/Apps/Ruby192/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 K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:452:in `try_cpp' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:834:in `block in have_header' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postpone' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:833:in `have_header' from extconf.rb:15:in `block in ' from K:/Apps/Ruby192/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:18:in `call' from K:/Apps/Ruby192/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 `' Gem files will remain installed in K:/Apps/Ruby192/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11 for inspection. Results logged to K:/Apps/Ruby192/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...
K:/Apps/RubyMine 3.0RC/rb/gems/ruby-debug-ide-0.4.15.gem: Error installing ruby-debug-ide-0.4.15.gem:
ERROR: Failed to build gem native extension. K:/Apps/Ruby192/bin/ruby.exe mkrf_conf.rb Building native extensions. This could take a while... Gem files will remain installed in K:/Apps/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.15 for inspection. Results logged to K:/Apps/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.15/ext/gem_make.out
K:/Apps/RubyMine 3.0RC/rb/gems/ruby-debug-base19-0.11.25.jb2.gem: Error installing ruby-debug-base19-0.11.25.jb2.gem:
ERROR: Failed to build gem native extension. K:/Apps/Ruby192/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=K:/Apps/Ruby192/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 K:/Apps/Ruby192/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 K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:452:in `try_cpp' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:834:in `block in have_header' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postpone' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for' from K:/Apps/Ruby192/lib/ruby/1.9.1/mkmf.rb:833:in `have_header' from extconf.rb:15:in `block in ' from K:/Apps/Ruby192/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:18:in `call' from K:/Apps/Ruby192/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 `' Gem files will remain installed in K:/Apps/Ruby192/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11 for inspection. Results logged to K:/Apps/Ruby192/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...
I then tried to do a "Tools>Bundler>Install"
and got the following error:
K:\Apps\Ruby192\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) K:\Apps\Ruby192\bin/bundle install
Could not locate Gemfile
My Gem environment is::
RubyGems Environment:
RUBYGEMS VERSION: 1.3.7
RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i386-mingw32]
INSTALLATION DIRECTORY: K:/Apps/Ruby192/lib/ruby/gems/1.9.1
RUBY EXECUTABLE: K:/Apps/Ruby192/bin/ruby.exe
EXECUTABLE DIRECTORY: K:/Apps/Ruby192/bin
RUBYGEMS PLATFORMS:
ruby
x86-mingw32
GEM PATHS:
K:/Apps/Ruby192/lib/ruby/gems/1.9.1
C:/Users/charles/.gem/ruby/1.9.1
GEM CONFIGURATION:
:update_sources => true
:verbose => true
:benchmark => false
:backtrace => false
:bulk_threshold => 1000
REMOTE SOURCES:
http://rubygems.org/
----------------------
IDE: JetBrains RubyMine 3.0, build #RM-97.108
RubyMine SDK Environment:
Sdk: Ruby SDK 1.9.2-p0
Sdk Version: ver.1.9.2p0 p0
Ruby Interpreter: K:/Apps/Ruby192/bin/ruby.exe
RVM Sdk: no
Sdk Language Level: 1.9
Sdk Load Path:
K:/Apps/Ruby192/lib/ruby/site_ruby/1.9.1
K:/Apps/Ruby192/lib/ruby/site_ruby/1.9.1/i386-msvcrt
K:/Apps/Ruby192/lib/ruby/site_ruby
K:/Apps/Ruby192/lib/ruby/vendor_ruby/1.9.1
K:/Apps/Ruby192/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt
K:/Apps/Ruby192/lib/ruby/vendor_ruby
K:/Apps/Ruby192/lib/ruby/1.9.1
K:/Apps/Ruby192/lib/ruby/1.9.1/i386-mingw32
K:/Apps/RubyMine 3.0RC/rubystubs19
Sdk Gem paths:
file://C:/Users/charles/.gem/ruby/1.9.1/gems
file://K:/Apps/Ruby192/lib/ruby/gems/1.9.1/gems
file://C:/Users/charles/.gem/ruby/1.9.1/bundler/gems
file://K:/Apps/Ruby192/lib/ruby/gems/1.9.1/bundler/gems
Please sign in to leave a comment.