Error Installing Ruby-debug - Base 19
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 this ruby green threading site About Us Learn more about Stack Overflow the company Business Learn rails 3 debugger gem more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question rails current request url 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
Ruby-debug Gem
install ruby-debug-base up vote 1 down vote favorite I am on Mac OS X, I tried to install ruby-debug-base but I got error: $ sudo gem install ruby-debug-base Password: Fetching: rbx-require-relative-0.0.9.gem (100%) Successfully installed rbx-require-relative-0.0.9 Fetching: linecache-0.46.gem (100%) Building native extensions. This could take a while... ERROR: Error installing ruby-debug-base: ERROR: Failed to build gem native extension. /Users/Apple/.rvm/rubies/ruby-2.1.5/bin/ruby -r ./siteconf20150131-1058-139jyp3.rb extconf.rb Can't handle 1.9.x install ruby debug yet *** 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-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/Apple/.rvm/rubies/ruby-2.1.5/bin/ruby extconf failed, exit code 1 Gem files will remain installed in /Users/Apple/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/gems/linecache-0.46 for inspection. Results logged to /Users/Apple/.rvm/rubies/ruby-2.1.5/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-11/2.1.0/linecache-0.46/gem_make.out osx ruby-on-rails-4 ruby-debug share|improve this question asked Jan 31 '15 at 5:27 simo 5,7611563118 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote You might have to specify where the ruby source is installed, e.g.: gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/Users/Apple/.rvm/rubies/ruby-2.1.5 share|improve this answer answered Jul 7 '15 at 23:36 rocky 1,97211022 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged osx ruby-on-rails-4 ruby-debug
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 ruby-debug-ide Learn more about Stack Overflow the company Business Learn more about hiring developers or
Ruby Gsub
posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow
Rails Render Partial
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 in install ruby-debug-base on ruby 2.0.0p247 [duplicate] http://stackoverflow.com/questions/28248504/cant-install-ruby-debug-base up vote 2 down vote favorite This question already has an answer here: How to use the debugger with Ruby 2.0? 3 answers I am running into the following issue: how to install debugger for ruby C:\windows\system32>ruby -v ruby (2013-06-27) [i386-mingw32] C:\windows\system32>gem install ruby-debug-base Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing ruby-debug-base: ERROR: Failed to build gem native http://stackoverflow.com/questions/20081614/error-in-install-ruby-debug-base-on-ruby-2-0-0p247 extension. C:/Ruby200/bin/ruby.exe extconf.rb Can't handle 1.9.x yet *** 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:/Ruby200/bin/ruby Gem files will remain installed in C:/Ruby200/lib/ruby/gems/2.0.0/gems/linecache -0.46 for inspection. Results logged to C:/Ruby200/lib/ruby/gems/2.0.0/gems/linecache-0.46/ext/gem_mak e.out ruby-on-rails ruby rubygems share|improve this question asked Nov 19 '13 at 20:43 Gainster 1,957114378 marked as duplicate by Andrew Marshallruby Users with the ruby badge can single-handedly close ruby questions as duplicates and reopen them as needed. May 26 '14 at 18:40 This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted for ruby > 1.8.x you have to use another gem apparently (byebug), ref: How to use the debugger with ruby 2.0? share|improve this answer answered Nov 19 '13 at 21:08 rogerdpack 22.5k1391139 Don’t simply link to another question in your answer, instead vote/flag to close as duplicate. –Andrew Marshall
a GitHub account Sign in https://gist.github.com/1331533 Create a gist now Instantly share code, notes, and snippets. Star 34 Fork 18 boriscy/install-ruby-debug-ubuntu-ruby-1.9.3 Created Nov 1, 2011 Embed What would you like to do? Embed Embed this gist in your website. Embed Share Copy sharable URL for this error installing 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 7 Stars 34 Forks 18 ruby-debug in ruby-1.9.3 and ubuntu Raw install-ruby-debug-ubuntu-ruby-1.9.3 #To error installing ruby-debug install ruby-debug on Ubuntu ruby-1.9.3 you need to download from http://rubyforge.org/frs/?group_id=8883 linecache19-0.5.13.gem ruby_core_source-0.1.5.gem ruby-debug19-0.11.6.gem ruby-debug-base19-0.11.26.gem #Then in your console export RVM_SRC=/your/path/to/ruby-1.9.3 # Note, your source path should be something like /home/user/.rvm/src/ruby-1.9.3-p0 gem install archive-tar-minitar gem install ruby_core_source-0.1.5.gem -- --with-ruby-include=/$RVM_SRC gem install linecache19-0.5.13.gem -- --with-ruby-include=/$RVM_SRC gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/$RVM_SRC gem install ruby-debug19-0.11.6.gem -- --with-ruby-include=/$RVM_SRC statique commented Nov 8, 2011 Thank you! jescalante commented Nov 23, 2011 I've installed the gems in order, but when I try to install ruby-debug-base I get this: $ gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/$RVM_SRC 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. /home/joe/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb --with-ruby-include=//home/joe/.rvm/rubies/ruby-1.9.3-p0/bin/ruby checking for rb_method_entry_t.called_id in method.h... no checking for rb_