Red Hat Bugzilla – Bug 982675
Spurious siteconf temporary file created by gem install
Last modified: 2013-07-24 20:43:07 EDT
Description of problem:
When doing a gem install of a native gem that calls a Makefile, an additional file is created in the installation directory that appears to be a by-product of the ext build process.
Version-Release number of selected component (if applicable):
Always on F19 with rubygems 2.
Steps to Reproduce:
1. gem install mysql
2. ls -l /usr/local/share/gems/gems/mysql-2.9.1/ext/mysql_api/siteconf*rb
# gem install mysql
Fetching: mysql-2.9.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed mysql-2.9.1
Parsing documentation for mysql-2.9.1
Installing ri documentation for mysql-2.9.1
Done installing documentation for mysql after 0 seconds
1 gem installed
# ls -l /usr/local/share/gems/gems/mysql-2.9.1/ext/mysql_api/siteconf*rb
-rw-------. 1 root root 254 Jul 9 14:30 /usr/local/share/gems/gems/mysql-2.9.1/ext/mysql_api/siteconf20130709-29615-uujzbf.rb
no siteconf*rb file
Fixed by upstream (pending) PR: https://github.com/rubygems/rubygems/pull/587
Fixed in rubygems 2.0.4, just released:
("Cleaned up siteconf between extension build and extension install. Pull request #587 by Dominic Cleal")
Okay, now I am thinking of upgrading rubygems to 2.0.4, however at first I want to see how Vít think about bug 979133 (yeah, ruby / rubygems on Fedora really needs some cleanup...)
RubyGems update should be ok. Some patches were even accepted upstream, so it should be a bit better now.
BTW 2.0.5 were released already.
Well, it seems 2.0.5 needs some patches (binary extension installation fails...) I am preparing.
rubygems-2.0.5-100.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rubygems-2.0.5-100.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
rubygems-2.0.5-100.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.