Bug 432110

Summary: rubygems should require ruby-devel?
Product: [Fedora] Fedora Reporter: Christopher Beland <beland>
Component: rubygemsAssignee: David Lutterkort <lutter>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: hbrock
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-07 16:46:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christopher Beland 2008-02-08 21:26:56 UTC
I tried to use "gem" to install "mongrel", but I got the error "can't find
header files for ruby."  I installed the ruby-devel RPM, and the gem
installation works.  It looks like ruby-devel is required for proper rubygems
operation, but RPM did not complain about any missing ruby-devel RPM when I
installed rubygems.

Comment 1 David Lutterkort 2008-04-07 16:46:28 UTC
No, a non-devel package should never require a -devel package. The issue is that
rubygems is fundamentally broken when it comes to binary gems.

One way to work around that is to build those gems into rpm's (e.g., using gem2rpm)

mongrel is also packaged as an RPM; if you just install rubygem-mongrel, all
will be fine.