Error Installing Ruby-debug-base19x
Contents |
here for a quick overview of the site Help Center Detailed answers error: error installing ruby-debug-base19x: error: failed to build gem native extension. to any questions you might have Meta Discuss the workings gem install ruby-debug-base19x and policies of this site About Us Learn more about Stack Overflow the company Business ruby-debug-ide Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the
Byebug
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 Failed to build gem native extension for ruby-debug-base19x up vote 0 down vote favorite I am new to Ruby On Rails, I am installing the gem, ruby-debug-base19x. But without successful. I found some similar answer but no help. Building native extensions. This could take a while... ERROR: Error installing ruby-debug-base19x: ERROR: Failed to build gem native extension. /opt/redmine-2.4.2-0/ruby/bin/ruby extconf.rb checking for vm_core.h... no /opt/redmine-2.4.2-0/ruby/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 vm_core.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 --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=/opt/redmine-2.4.2-0/ruby/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 /opt/redmine-2.4.2-0/ruby/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:270:in `block (2 levels) in read': Failed to download http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gz: Forbidden (RuntimeError) from /opt/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/net/http.rb:1323:in `block (2 levels) in transport_request' from /opt/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/net/http.rb:2672:in `reading_body' from /opt/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/net/http.rb:1322:in `block in transport_request' from /opt/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/net/http.rb:1317:in `catch' from /opt/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/net/http.rb:1317:in `transport_request' from /opt/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/net/http.rb:1294:in `request' from /opt/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/net/http.rb:1287:in `block in request' from /opt/redmine-2.4.2-0/ruby/lib/ruby/1.9.1/net/http.r
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 Can't install ruby-debug? up vote 3 down vote favorite Has anyone else encountered this? gem install ruby-debug Building native http://stackoverflow.com/questions/21823820/failed-to-build-gem-native-extension-for-ruby-debug-base19x extensions. This could take a while... ERROR: Error installing ruby-debug: ERROR: Failed to build gem native extension. /Users/ohad/.rvm/rubies/ruby-1.9.3-p327/bin/ruby extconf.rb Can't handle 1.9.x yet *** extconf.rb failed *** I am using a gemset if that has anything to do with it. ruby ruby-debug share|improve this question edited Jan 24 '13 at 13:51 the Tin Man 109k22134204 asked Jan 24 '13 at 10:41 WebQube 1,49921841 I believe the gem name for ruby http://stackoverflow.com/questions/14499362/cant-install-ruby-debug 1.9 is ruby-debug19. Or something like that. –MurifoX Jan 24 '13 at 10:42 add a comment| 3 Answers 3 active oldest votes up vote 4 down vote accepted The debugger gem is the de facto standard for the current version of Ruby. share|improve this answer answered Jan 24 '13 at 10:45 Jimmy Cuadra 19.6k65173 thanks. that completely saved me! –WebQube Jan 24 '13 at 11:31 add a comment| up vote 1 down vote The only debugger that works for me so far is the debugger gem found at https://github.com/cldwalker/debugger Put the gem 'debugger' in Gemfile or install it just for development. group :development do gem 'debugger' end I have tried a couple of other options (which all failed) before landing on debugger gem. Specifically, ruby-debug and ruby-debug19 (https://github.com/denofevil/ruby-debug19). ruby-debug failed to install. While ruby-debug19 did install, I got an error on require 'ruby-debug' ; Debugger.start. Here is my environment: ruby 1.9.3p374 (2013-01-15 revision 38858) [i686-linux] Rails 3.2.11 Ubuntu 12.04.2 LTS 32bit share|improve this answer edited Mar 12 '13 at 18:57 answered Mar 12 '13 at 14:50 MichaelZ 1,271166 add a comment| up vote 0 down vote You need to use the ruby-debug19 version as the 'regular' version is incompatible with Ruby 1.9: gem install ruby-debug19 For more information check the gems project page. s
06, 2012 21:49 None https://intellij-support.jetbrains.com/hc/en-us/community/posts/206716715-Failed-to-Install-Gems-ruby-debug-base19x-0-11-30-pre10-gem- Hi guys,I am surprized to see this issue in RM4. I had the same issue with 3.x. And of course I forgot what i did to solve it. When I start the debugger it asks me to error installing upgrade ruby-debug-base19. and when I do I get the error pasted at the bottom of the post.I am on OSX, and run RVMWhats the best way to update this gem. Do you guys recommend not using error installing ruby-debug-base19x RVM?Thanks!Jonathan-------3:21:16 PM Error running Development: pipeline: Failed to Install Gems. Following gems were not installed:/Applications/RubyMine.app/rb/gems/ruby-debug-base19x-0.11.30.pre10.gem: Error installing ruby-debug-base19x-0.11.30.pre10.gem: ERROR: Failed to build gem native extension. /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb checking for rb_method_entry_t.called_id in method.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=/Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/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 /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/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 /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:446:in `try_compile' from /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:885:in `block in have_struct_member' from /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for' from /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postpone' from /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:254:in `open' from /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone' from /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/mkmf.rb:254:in `open' from /Users/jtushman/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/m