From: Luis Lavena Date: 2010-11-16T20:34:29+09:00 Subject: Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1) On Nov 15, 8:41 pm, Allan Chin wrote: > Ok, I followed Luis' instructions although I unzipped the DevKit right > over the Ruby192 install folder. I did NOT gem install these. > If that was the intention, that could have been outlined in the instructions. DevKit needs to be separated from Ruby, because it contains files that could affect a normal functioning system like find.exe, It just need to be installed so it gets added to the path during gem installation. > linecache-0.43-mswin32.gem > ruby-debug-base-0.10.3-mswin32.gem > These gems are not the ones used by ruby-debug19, also, you can't manually install them as they depend on an active internet connection to download ruby source headers and be able to compile. > The dev machine which has Visual Studio and the Ruby Fast Debugger has > these gems: > > ruby-debug-base19-0.11.24 > ruby-debug-ide-0.4.9 > > So I attempted a gem install of ruby-debug19. I attached the > gem-make.out and the mkmf.log files to this reply. And here is my > output. > > ======================================================================= > C:\Ruby192>gem install ruby-debug19 -phttp://web-proxy:8080 > Temporarily enhancing PATH to include DevKit... > Building native extensions.  This could take a while... > ERROR:  Error installing ruby-debug19: >         ERROR: Failed to build gem native extension. > > C:/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=C:/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 > C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed > to genera > te an executable file. (RuntimeError) > You have to install development tools first. It is clear here that it didn't find the tools needed to compile the extension because you didn't properly install the DevKit. > > Thanks guys. > I did my best to provide you with links and instructions where to put what and how to install it successfully, yet however you neglected these instructions and as result still having problems. Please do not compare your Visual Studio installation or whatever between machines, I can bet you're not installing the exact same version of Ruby, and beause you aren't, the results are not comparable. Also, please read what I said about the gem versions, the attempts to install manually/locally and the real need for an active internet connection. Please, also read some of the tutorials in the RubyInstaller wiki: http://github.com/oneclick/rubyinstaller/wiki/Tutorials Pretty much lot of folks following these instructions had great success installing Ruby and DevKit and lot of gems. -- Luis Lavena