cldwalker/debugger

Help Me

DanielZhangQingLong opened this issue · 8 comments

how do i solve this problem---(An error occurred while installing debugger (1.5.0), and Bundler cannot
continue.
)

Thanks for reporting your issue! This is one of my 9 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.

Make sure you are using the latest debugger which is 1.6.1. Also, you need to provide the full output of your failed command before I can help. For an example see #88

An error occurred while installing debugger (1.5.0), and Bundler cannot
continue.
Make sure that gem install debugger -v '1.5.0' succeeds before bundling.

I type "bundle install" this is the wrong info. How should I install debugger 1.6.1? It confuse me a lot.

At 2013-07-31 19:12:52,"Gabriel Horner" notifications@github.com wrote:

Make sure you are using the latest debugger which is 1.6.1. Also, you need to provide the full output of your failed command before I can help. For an example see #88


Reply to this email directly or view it on GitHub.

I tried again, and the info below is the output.
u@ubuntu:~/eol$ bundle install
Fetching source index from https://rubygems.org/
Using rake (10.0.4)
Using i18n (0.6.1)
Using multi_json (1.7.2)
Using activesupport (3.2.13)
Using builder (3.0.4)
Using activemodel (3.2.13)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.2)
Using tilt (1.4.0)
Using sprockets (2.2.2)
Using actionpack (3.2.13)
Using mime-types (1.19)
Using polyglot (0.3.3)
Using treetop (1.4.12)
Using mail (2.5.3)
Using actionmailer (3.2.13)
Using arel (3.0.2)
Using tzinfo (0.3.37)
Using activerecord (3.2.13)
Using activeresource (3.2.13)
Using acts_as_tree_rails3 (0.1.0)
Using addressable (2.3.2)
Using ar-octopus (0.4.0) from git://github.com/pleary/octopus.git (at 0.4.0)
Using highline (1.6.15)
Using net-ssh (2.6.1)
Using net-scp (1.0.4)
Using net-sftp (2.0.5)
Using net-ssh-gateway (1.1.0)
Using capistrano (2.13.5)
Using capistrano-unicorn-pleary (0.1.6.1)
Using nokogiri (1.5.5)
Using ffi (1.1.5)
Using childprocess (0.3.6)
Using libwebsocket (0.1.5)
Using rubyzip (0.9.9)
Using selenium-webdriver (2.26.0)
Using xpath (0.1.4)
Using capybara (1.1.3)
Using orm_adapter (0.4.0)
Using ckeditor (3.7.3)
Using cocaine (0.4.2)
Using coffee-script-source (1.4.0)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.3)
Using json (1.7.7)
Using rdoc (3.12)
Using thor (0.18.1)
Using railties (3.2.13)
Using coffee-rails (3.2.2)
Using columnize (0.3.6)
Using composite_primary_keys (5.0.10)
Using crack (0.3.1)
Using daemons (1.1.9)
Using dalli (2.3.0)
Using debugger-linecache (1.2.0)
Using debugger-ruby_core_source (1.2.0)
Installing debugger (1.5.0)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/home/u/.rvm/rubies/ruby-1.8.7-p352/bin/ruby extconf.rb
*** 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=/home/u/.rvm/rubies/ruby-1.8.7-p352/bin/ruby
extconf.rb:16:in `require': no such file to load -- debugger/ruby_core_source (LoadError)
from extconf.rb:16

Gem files will remain installed in /home/u/.rvm/gems/ruby-1.8.7-p352/gems/debugger-1.5.0 for inspection.
Results logged to /home/u/.rvm/gems/ruby-1.8.7-p352/gems/debugger-1.5.0/ext/ruby_debug/gem_make.out

An error occurred while installing debugger (1.5.0), and Bundler cannot
continue.
Make sure that gem install debugger -v '1.5.0' succeeds before bundling.

At 2013-07-31 19:12:52,"Gabriel Horner" notifications@github.com wrote:

Make sure you are using the latest debugger which is 1.6.1. Also, you need to provide the full output of your failed command before I can help. For an example see #88


Reply to this email directly or view it on GitHub.

debugger isn't compatible with 1.8.7 - only 1.9 and eventually 2.0 compatible as stated in the readme - https://github.com/cldwalker/debugger#description

Try ruby-debug which should be 1.8 compatible

Thanks a lot,I will try it.

At 2013-08-01 20:38:00,"Gabriel Horner" notifications@github.com wrote:

debugger isn't compatible with 1.8.7 - only 1.9 and eventually 2.0 compatible as stated in the readme - https://github.com/cldwalker/debugger#description

Try ruby-debug which should be 1.8 compatible


Reply to this email directly or view it on GitHub.

Here is another issue that when I execute "scprit/server" and it prints
"u@ubuntu:~/eol$ script/server
/home/u/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': cannot load such file -- script/../config/boot (LoadError) from /home/u/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from script/server:2:in `

'"
this is my script/server file
"#!/usr/bin/env ruby
#$: << File.dirname(FILE) + '../..'
require File.dirname(FILE) + '/../config/boot'
#require File.expand_path('../../config/boot',FILE)
require 'commands/server'
"
My friend i need Ur Help!

At 2013-08-01 20:38:00,"Gabriel Horner" notifications@github.com wrote:

debugger isn't compatible with 1.8.7 - only 1.9 and eventually 2.0 compatible as stated in the readme - https://github.com/cldwalker/debugger#description

Try ruby-debug which should be 1.8 compatible


Reply to this email directly or view it on GitHub.

I had faced the same issue and got solved by running

$bundle update debugger