<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<blockquote cite="mid:52653D4B.9090603@redhat.com" type="cite">
<pre wrap="">+# 1) Failure:
+#TestGemExtBuilder#test_build_extensions_extconf_bad [/home/mtasaka/rpmbuild/fedora-SCM/rubygems/master/rubygems-2.1.9/test/rubygems/test_gem_ext_builder.rb:94]:
+#Expected /\<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr\/bin\/ruby: No such file<span class="moz-txt-tag">/</span></i> to match "/usr/bin/ruby extconf.rb \n/usr/bin/ruby-mri: No such file or directory -- extconf.rb (LoadError)\n".
Pretty annoying bug :/
Vít</pre>
</blockquote>
<br>
This is caused by RubyGems relying on Gem.ruby path to the actual
bin file being run as ruby program.<br>
<br>
In Fedora F19 and higher where we use RubyPick, Gem.ruby is still
"/usr/bin/ruby", but errors in Ruby are being reported from the
respective Ruby implementation running - /usr/bin/ruby-mri in our
case.<br>
<br>
$ ruby extconf.rb<br>
/usr/bin/ruby-mri: No such file or directory -- extconf.rb
(LoadError)<br>
<br>
Maybe we should change Gem.ruby to point to the implementation
running.<br>
<br>
Josef<br>
</body>
</html>