Error Installing Ruby-debug-base19
Contents |
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 ruby green threading this site About Us Learn more about Stack Overflow the company Business
Rails 3 Debugger Gem
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
Rails Current Request Url
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
Ruby-debug Gem
up how do I install ruby-debug in ruby 1.9.3 / Rails 3.2.1 [duplicate] up vote 14 down vote favorite 9 Possible Duplicate: Rails 3.1 and Ruby 1.9.3p125: ruby-debug19 still crashes with “Symbol not found: _ruby_threadptr_data_type” I'm done with printing to the console -- I want to move up to the 20th century and start using a debugger!! But how do I install ruby-debug? install ruby debug The native compilation of ruby-debug.c fails when I try to install the ruby-debug19 gem. I've looked over other SO postings and haven't found the answer yet... I am using Ruby 1.9.3-p0 I am using Rails 3.2 (with Gemfile, of course) I am NOT using RVM -- instead, I have a fully sandboxed directory containing all executables, gems, sources, etc. I refer to it as $SANDBOX below... bundle install doesn't work If I add ruby-debug19 to my Gemfile and do bundle install, it fails during build with conflicting types for 'rb_iseq_compile_with_option': # file: Gemfile ... group :development do gem 'ruby-debug19' end ... % bundle install ... Installing ruby-debug-base19 (0.11.25) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/r/Developer/Topaz/usr/bin/ruby extconf.rb ... ruby_debug.c:29: error: conflicting types for 'rb_iseq_compile_with_option' $SANDBOX/usr/include/ruby-1.9.1/ruby-1.9.3-p0/vm_core.h:505: error: previous declaration of 'rb_iseq_compile_with_option' was here ... make: *** [ruby_debug.o] Error 1 gem install ruby-debug from the command line doesn't work If I try building the gem from the command line, using the --with-ruby-include argument pointing at the include directory for the current ruby, I get the same error: % gem install ruby-debug19 -- --with-ruby-include=$SANDBOX/packages/ruby-1.9.3-p0 Buil
here for a quick overview of the site Help Center Detailed answers to any questions ruby-debug-ide you might have Meta Discuss the workings and policies of this ruby gsub site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers rails render partial 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 http://stackoverflow.com/questions/9122232/how-do-i-install-ruby-debug-in-ruby-1-9-3-rails-3-2-1 community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ruby-debug-base19 :Failed to build up vote 1 down vote favorite I ran the following command to install the gems bundle install --without production It started the installation untill it reached ruby-debug-base19 .When it http://stackoverflow.com/questions/17910400/ruby-debug-base19-failed-to-build tried to install it should the following error Installing ruby-debug-base19 (0.11.25) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby.exe extconf.rb checking for rb_method_entry_t.body in method.h... no checking for vm_core.h... no /usr/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config. checking for rb_method_entry_t.body in method.h... no checking for vm_core.h... yes checking for iseq.h... yes checking for insns.inc... yes checking for insns_info.inc... yes checking for eval_intern.h... yes creating Makefile make gcc -I. -I/usr/include/ruby-1.9.1/i386-cygwin -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_VM_CORE_H -DHAVE_ISEQ_H -DHAVE_INSNS_INC -DHAVE_INSNS_INFO_INC -DHAVE_EVAL_INTERN_H -I/usr/include/ruby-1.9.1/ruby-1.9.3-p429 -ggdb -O2 -pipe -fno-strict-aliasing -o breakpoint.o -c breakpoint.c gcc -I. -I/usr/include/ruby-1.9.1/i386-cygwin -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I. -DHAVE_VM_CORE_H -DHAVE_ISEQ_H -DHAVE_INSNS_INC -DHAVE_INSNS_INFO_INC -DHAVE_EVAL_INTERN_H -I/usr/include/ruby-1.9.1/ruby-1.9.3-p429 -ggdb -O2 -pipe -fno-strict-aliasing -o ruby_debug.o -c ruby_debug.c ruby_debug.c:29:19: error: conflicting types for ‘rb_iseq_compile_with_option’ In file included from ruby_debug.c:4:0: /usr/include/ruby-1.9.1/ruby-1.9.3-p429/vm_core.h:506:7: note: previous declaration of ‘rb_iseq_compile_with_option’ was here Makefile:206: recipe for target `ruby_debug.o' failed make: *** [ruby_debug.o] Error 1 Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.25 for inspection. Results logged to /usr/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.25/ext/ruby_debug/gem_make.out An error occurred while installing ruby-debug-b
here for a quick overview of the site http://stackoverflow.com/questions/11074794/cant-install-ruby-debug-base19x-gem Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more https://gist.github.com/1646085 about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users error installing 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 Can't install ruby-debug-base19x gem up vote 17 down vote favorite 9 When error installing ruby-debug-base19 I try to install ruby-debug-base19x gem for debug my application using the RubyMine IDE I received the below error message, can anybody help me? I'm using Mac OS X 10.7.4 /Users/danilobarsotti/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for rb_method_entry_t.body in method.h... no checking for vm_core.h... no /Users/danilobarsotti/.rvm/gems/ruby-1.9.3-p194/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config. checking for rb_method_entry_t.body in method.h... no checking for vm_core.h... yes checking for iseq.h... yes checking for insns.inc... yes checking for insns_info.inc... yes checking for eval_intern.h... yes creating Makefile make compiling breakpoint.c compiling ruby_debug.c ruby_debug.c:24: error: conflicting types for ‘rb_iseq_compile_with_option’ /Users/danilobarsotti/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1/ruby-1.9.3-p194/vm_core.h:505: error: previous declaration of ‘rb_iseq_compile_with_option’ was here ruby_debug.c: In function ‘call_at_line_unprotected’: ruby_debug.c:474: warning: implicit conversion shortens 64-bit value into a 32-bit value ruby_debug.c: In function ‘filename_cmp’: ruby_debug.c:538: warning: implicit conversion shortens 64-bit value into a 32-bit value ruby_debug.c:539: warning: implicit conversion shortens 64-bit value into
a GitHub account Sign in Create a gist now Instantly share code, notes, and snippets. Star 2 Fork 0 mdoroudi/gist:1646085 Created Jan 20, 2012 Embed What would you like to do? Embed Embed this gist in your website. Embed Share Copy sharable URL for this gist. Share Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. HTTPS Learn more about clone URLs Download ZIP Code Revisions 1 Stars 2 Installing the ruby-debug-base19-0.11.26.gem on Ruby 1.9.3-p0, Mac OS X Lion 10.7.2 and Xcode 4.2.1 Raw gistfile1.txt Hi, I followed the instruction from http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug and all the comments under it. But I still have problems with installing ruby-debug-base19. I have tried all the following and I still get this error. gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-dir=/Users/mdoroudi/.rvm/rubies/ruby-1.9.3-p0/ gem install ruby-debug-base19-0.11.26.gem -- --with-ruby- include=/Users/mdoroudi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby-1.9.3-p0/ gem install ruby-debug-base19-0.11.26.gem -- --with-ruby- include=/Users/mdoroudi/.rvm/rubies/ruby-1.9.3-p0/ gem install ruby-debug-base19-0.11.26.gem -- --with-ruby- include=/Users/mdoroudi/.rvm/src/ruby-1.9.3-p0/ Building native extensions. This could take a while... ERROR: Error installing ruby-debug-base19-0.11.26.gem: ERROR: Failed to build gem native extension. /Users/mdoroudi/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb --with-ruby-dir=/Users/mdoroudi/.rvm/src/ruby-1.9.3-p0/ checking for rb_method_entry_t.called_id in method.h... no checking for rb_control_frame_t.method_id in method.h... no *** 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 --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-