Issue #7698 has been updated by drbrain (Eric Hodel). Assignee changed from drbrain (Eric Hodel) to nobu (Nobuyoshi Nakada) % Done changed from 100 to 50 =begin This patch causes the rdiscount extension to fail to install since it reads a local file: https://github.com/rtomayko/rdiscount/blob/master/ext/extconf.rb#L18 The exception: Building native extensions. This could take a while... /usr/local/bin/ruby -r./siteconf /Users/drbrain/tmp/gems/gems/rdiscount-2.0.7.1/ext/extconf.rb checking for random()... yes checking for srandom()... yes checking for rand()... yes checking for srand()... yes checking size of unsigned long... 8 checking size of unsigned int... 4 checking size of unsigned int... 4 *** /Users/drbrain/tmp/gems/gems/rdiscount-2.0.7.1/ext/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=/Users/drbrain/tmp/gems/gems/rdiscount-2.0.7.1/ext --curdir --ruby=/usr/local/bin/ruby --with-rdiscount-dir --without-rdiscount-dir --with-rdiscount-include --without-rdiscount-include=${rdiscount-dir}/include --with-rdiscount-lib --without-rdiscount-lib=${rdiscount-dir}/ /Users/drbrain/tmp/gems/gems/rdiscount-2.0.7.1/ext/extconf.rb:18:in `read': No such file or directory - VERSION (Errno::ENOENT) from /Users/drbrain/tmp/gems/gems/rdiscount-2.0.7.1/ext/extconf.rb:18:in `<main>' ERROR: Error installing rdiscount: ERROR: Failed to build gem native extension. Building has failed. See above output for more information on the failure. Gem files will remain installed in /Users/drbrain/tmp/gems/gems/rdiscount-2.0.7.1 for inspection. =end ---------------------------------------- Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries https://bugs.ruby-lang.org/issues/7698#change-37210 Author: mrkn (Kenta Murata) Status: Assigned Priority: High Assignee: nobu (Nobuyoshi Nakada) Category: lib Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2013-01-14 trunk 38812) [x86_64-linux] The current rubygem included in ruby-head has an incompatibility about installation of extension libraries. This incompatibility makes `make install` to be failed because the current gem doesn't separate build, source and install directories. This is reported as a bug of bigdecimal's gemspec in #7344 firstly, but Tadashi Saito pointed out it also can be reproduced in other gems including extension libraries, such as decimal.gem. I think this incompatibility will make gem-developers to be in trouble after ruby-2.0 is released. So this should be resolved before ruby-2.0 is released. -- http://bugs.ruby-lang.org/