From: Luis Lavena Date: 2010-11-14T04:30:20+09:00 Subject: Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1) On Nov 12, 2:56 pm, Allan Chin wrote: > I've been trying to run this configuration in debug mode on my Windows > Vista x86 machine for a few days now with no luck. I do not have Visual > Studio installed. Everytime I try to debug, NetBeans prompts me to > install the Fast Debugger. And if I don't I get translation errors > around the "thread" class. I know that nstalling the Fast Debugger will > make everything work because I have successfully installed and debugged > on my other machine was has Visual Studio installed. I have the > following files > > > ========================================================================= > Temporarily enhancing PATH to include DevKit... > Building native extensions.  This could take a while... > ERROR:  Error installing ruby-debug-ide: >   ERROR: Failed to build gem native extension. > > C:/Ruby192/bin/ruby.exe mkrf_conf.rb > Building native extensions.  This could take a while... > > Gem files will remain installed in > C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9 for inspection. > Results logged to > C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/ext/gem_make.out > ========================================================================= > > Can someone tell me definitively how to get this guy installed? Or can > somebody instruct me if and how I can move the built native gems from my > Visual Studio dev machine to the non-dev machine? > If your Ruby compiled with Visual Studio? Unless you compiled yourself, I guess not (also it seems RubyInstaller + DevKit) A suggestion? 1. Download RubyInstaller http://rubyinstaller.org/downloads 2. Install it in the recommended directory 3. Download DevKit http://rubyinstaller.org/downloads 4. Extract it to a folder (C:\RubyDevKit for example) 5. Open a command prompt and follow the DevKit installation instructions: http://github.com/oneclick/rubyinstaller/wiki/Development-Kit 6. gem install ruby-debug (for ruby 1.8) or ruby-debug19 (for Ruby 1.9.x) Please note that ruby-debug needs to download Ruby source package to compile it extension. That is because it depends on some Ruby internals not exposed otherwise. Due this, it requires an active internet connection. -- Luis Lavena