Skip to content

Instantly share code, notes, and snippets.

@cheald
Created November 3, 2012 01:00
Show Gist options
  • Save cheald/4005331 to your computer and use it in GitHub Desktop.
Save cheald/4005331 to your computer and use it in GitHub Desktop.
source 'http://rubygems.org'
platforms :mri_19 do
gem 'ruby-prof'
gem 'request_profiler'
gem 'debugger'
end
chris@luna /var/www/repos/bundletest git:(master*) ruby-head % ruby -v
ruby 2.0.0dev (2012-10-12) [x86_64-linux]
chris@luna /var/www/repos/bundletest git:(master*) ruby-head % bundle -v
Bundler version 1.2.1
chris@luna /var/www/repos/bundletest git:(master*) ruby-head % bundle install
Fetching gem metadata from http://rubygems.org/....
Using columnize (0.3.6)
Using debugger-ruby_core_source (1.1.4)
Installing debugger-linecache (1.1.2) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-head/bin/ruby extconf.rb
checking for vm_core.h... no
Makefile creation failed
**************************************************************************
No source for ruby-2.0.0 (revision 0) 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=/usr/local/rvm/rubies/ruby-head/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}/
Gem files will remain installed in /usr/local/rvm/gems/ruby-head/gems/debugger-linecache-1.1.2 for inspection.
Results logged to /usr/local/rvm/gems/ruby-head/gems/debugger-linecache-1.1.2/ext/trace_nums/gem_make.out
An error occurred while installing debugger-linecache (1.1.2), and Bundler cannot continue.
Make sure that `gem install debugger-linecache -v '1.1.2'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment