Error Installing Ruby-debug-ide 1.9.3
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Ruby:: error to install ruby-debug-ide on windows up vote 1 down vote favorite I refered this post to install How to debug ruby on rails in eclipse aptana plugin ruby-debug-ide and this link . I have installed C:\Users>gem install ruby-debug-ide --platform=ruby --pre Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Successfully installed ruby-debug-ide-0.4.17.beta14 1 gem installed Installing ri documentation for ruby-debug-ide-0.4.17.beta14... Installing RDoc documentation for ruby-debug-ide-0.4.17.beta14... But I got this error when I install ruby-debug-ide C:\Users>gem install ruby-debug-ide --platform=ruby 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:/Ruby193/bin/ruby.exe mkrf_conf.rb Building native extensions. This could take a while... Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16 for inspection. Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/ext/gem_make.out Here is my environment C:\Users>gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.8.11 - RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [i386-mingw32] - INSTALLATION DIRECTORY: C:/Ruby193/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: C:/Ruby193/bin/ruby.exe - EXECUTABLE DIRECTORY: C:/Ruby193/bi
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack http://stackoverflow.com/questions/12308817/ruby-error-to-install-ruby-debug-ide-on-windows Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error installing debugger: http://stackoverflow.com/questions/14060513/error-installing-debugger-failed-to-build-gem-native-extension-with-ruby-1-9-3 Failed to build gem native extension with ruby-1.9.3-p362 up vote 22 down vote favorite 8 While trying run bundle for a new project, I'm encountering the following error: Installing debugger (1.2.2) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb checking for rb_method_entry_t.called_id in method.h... no checking for rb_control_frame_t.method_id in method.h... no checking for rb_method_entry_t.called_id in method.h... no checking for rb_control_frame_t.method_id in method.h... no Makefile creation failed ************************************************************************** No source for ruby-1.9.3-p362 provided with debugger-ruby_core_source gem. ************************************************************************** *** 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:/Ruby193/bin/ruby --with-ruby-dir --wi
first http://archimedesnewton.com/2012/05/30/installing-ruby-debug-ide19-on-ruby-1-9-3-p125-from-railsinstaller-2-1-0/ things first: Thanks for a fantastic product!Now for the whining and complaining error installing ;)...I recently upgraded to Ruby 1.9.3 so I suspect that might be the reason my debugger does not start.I am using the following:Ruby 1.9.3Rails 3.1.1RubyMine error installing ruby-debug-ide 3.2.4Ubuntu 11.04And this is what I get when I try to fire up the debugger (which has worked fine in the past):Cannot connect to the debugged process at port 50721 in 10s:Error Output: /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/trace_nums19.so: undefined symbol: ruby_current_thread - /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/trace_nums19.so (LoadError) from /home/larry/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /home/larry/.rvm/gems/ruby-1.9.3-p0@stuptues/gems/linecache19-0.5.11/lib/tracelines19.rb:12:in `rescue in
Installing ruby-debug-ide19 on Ruby 1.9.3 (p125) from RailsInstaller 2.1.0 Posted on May 30, 2012 by ArchimedesNewton This has been quite a little journey. In the end, I'm happy with the solution though as it appears to be pretty elegant and, most importantly, seems to work at the moment. First, some background. I've recently had a big interest develop in Ruby. Not necessarily so much for the language itself as for Rails. I can only go so long hearing so much good about something that I have to go and check it out for myself. Last week I read through Why's Poignant Guide over a day and a half and feel pretty good with the language (even metaprogramming). So, the time came to get my IDE up and running. I chose Aptana Studio 3 since it's Eclipse based and I like Eclipse. Their setup instructions include how to install a Ruby debugger for use within Eclipse. I installed Ruby on Windows using RailsInstaller 2.1.0, the latest available at the moment, which installs Ruby 1.9.3 p125. Based on Aptana's instructions, I knew I needed to install the ruby-debug-ide19 gem and so I entered their given command. gem install ruby-debug-ide19 And I was greeted with a warm error message. ruby_debug.c:29:19: error: conflicting types for 'rb_iseq_compile_with_option' C:/RailsInstaller/Ruby1.9.3/include/ruby-1.9.1/ ruby-1.9.3-p125/vm_core.h:505:7: note: previous declaration of 'rb_iseq_compile_with_option' was here "How quaint," I thought. "This is exactly what turns some people off to open source software." Well, not wanting to be dissuaded I started looking for solutions. After searching for a while, I came up with my own. Alter the "ext/ruby_debug/extconf.rb" within the ruby-debug-base19-0.11.25.gem file (can be opened with 7-Zip). The alterations are to comment lines 19 and 21 (in red). #if RUBY_REVISION >= 26959 # rb_iseq_compile_with_option was [...] $CFLAGS << ' -DRB_ISEQ_COMPILE_6ARGS' #end I could now proceed…only to be met with a second, more interesting error. C:\RailsInstaller\Ruby1.9.3\lib\ruby\gems\1.9.1\gems\ ruby-debug-base19-0.11.25\ext\ruby_debug/ruby_debug.c:712: undefined reference to `ruby_threadptr_data_type' Wow, how interesting is that! This thing just doesn't want to compile OR link! It'd been a while since I'd done this much work trying to get something to compile in C/C++, but I had a good background from the past. So this should be easy, right? Four days later, I think I have a solution. Many people who encountered this started installing ruby-debug-base19x to get around it. Apparently this is a fork off ruby-debug-base19 which is maintained with one of the IDEs to try and fix some of the chal