PFonseca

Developer

View site on GitHub Statuses Archives

Error to install debugger's gem 1.6.8

When I run $ bundle install command. I got the following error:
vagrant@precise64:/vagrant/vpsa-crediario$ bundle install
Fetching gem metadata from https://rubygems.org/........
Fetching additional metadata from https://rubygems.org/..
Using rake 10.4.2
Using i18n 0.7.0
Using json 1.8.2
Using minitest 5.5.1
Using thread_safe 0.3.4
Using tzinfo 1.2.2
Using activesupport 4.1.9
Using builder 3.2.2
Using erubis 2.7.0
Using actionview 4.1.9
Using rack 1.5.2
Using rack-test 0.6.3
Using actionpack 4.1.9
Using mime-types 2.4.3
Using mail 2.6.3
Using actionmailer 4.1.9
Using activemodel 4.1.9
Using arel 5.0.1.20140414130214
Using activerecord 4.1.9
Using annotate 2.6.5
Using thor 0.19.1
Using railties 4.1.9
Using jquery-rails 3.1.2
Using autonumeric-rails 1.9.21
Using bcrypt 3.1.9
Using bootstrap-daterangepicker-rails 0.1.1
Using will_paginate 3.0.7
Using bootstrap-will_paginate 0.0.10
Using uniform_notifier 1.6.2
Using bullet 4.14.0
Using coffee-script-source 1.8.0
Using execjs 2.2.2
Using coffee-script 2.3.0
Using coffee-rails 4.0.1
Using columnize 0.9.0
Using database_cleaner 1.3.0
Using debugger-linecache 1.2.0
Using debugger-ruby_core_source 1.3.7

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /home/vagrant/.rvm/rubies/ruby-2.0.0-p598/bin/ruby -r ./siteconf20150408-4586-1cwk391.rb 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-2.0.0-p598 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/vagrant/.rvm/rubies/ruby-2.0.0-p598/bin/ruby
  --with-ruby-dir
  --without-ruby-dir
  --with-ruby-include=${ruby-dir}/include
  --with-ruby-lib
  --without-ruby-lib=${ruby-dir}/

extconf failed, exit code 1

Gem files will remain installed in /home/vagrant/.rvm/gems/ruby-2.0.0-p598/gems/debugger-1.6.8 for inspection.
Results logged to /home/vagrant/.rvm/gems/ruby-2.0.0-p598/extensions/x86_64-linux/2.0.0/debugger-1.6.8/gem_make.out
An error occurred while installing debugger (1.6.8), and Bundler cannot continue.
Make sure that `gem install debugger -v '1.6.8'` succeeds before bundling.


To solve this problem, you need install rails' source code. This command will fix the problem:
$ rvm reinstall 2.0.0 --disable-binary

Then, the command $ bundle install will work.



Published on 08/04/2015 at 04h07 by pfonseca, tags


Powered by Publify