Skip to content

Instantly share code, notes, and snippets.

@tessi
Created July 2, 2013 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tessi/5907238 to your computer and use it in GitHub Desktop.
Save tessi/5907238 to your computer and use it in GitHub Desktop.
installing debugger failed with ruby1.9.3p448 on Travis CI
[...]
Installing debugger-ruby_core_source (1.2.2)
Installing debugger (1.6.0)
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/travis/.rvm/rubies/ruby-1.9.3-p448/bin/ruby 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-p448 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=/home/travis/.rvm/rubies/ruby-1.9.3-p448/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
Gem files will remain installed in /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/debugger-1.6.0 for inspection.
Results logged to /home/travis/.rvm/gems/ruby-1.9.3-p448/gems/debugger-1.6.0/ext/ruby_debug/gem_make.out
An error occurred while installing debugger (1.6.0), and Bundler cannot
continue.
Make sure that `gem install debugger -v '1.6.0'` succeeds before bundling.
The command "bundle install" failed. Retrying, 2 of 3.
@vrybas
Copy link

vrybas commented Jul 8, 2013

@tessi, any solution yet?

@vrybas
Copy link

vrybas commented Jul 8, 2013

@tessi, I just removed Gemfile.lock to update all gems and it works now

@redblink-vivek
Copy link

I am also having the same problem, but removing files from Gemfile.lock, is not working for me. I am using ruby 1.9.3-p448 and rails 3.2.13. What I think is that, it might be an issue of some dependencies

@CodeMonkeySteve
Copy link

I was able to fix by just updating the debugger-ruby_core_source gem to the latest version (1.2.3).

@x8k2
Copy link

x8k2 commented Aug 1, 2013

@CodeMonkeySteve, works for me, thanks!

@jpieres
Copy link

jpieres commented Sep 21, 2013

@CodeMonkeySteve, it worked for me too, thanks. I updated debugger-ruby_core_source gem from 1.2.0 to 1.2.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment