Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459676 - dev-lang/ruby sources missing - make compiled gem installation fail
Summary: dev-lang/ruby sources missing - make compiled gem installation fail
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-28 09:08 UTC by oelmekki
Modified: 2013-03-02 16:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oelmekki 2013-02-28 09:08:00 UTC
Is there a special reason ruby sources are not included anymore in /usr/include/ruby-1.9.1/ ?

It is needed for compiled gems installed through the gem package manager.

I understand portage is supposed to be the only package manager supported, but it makes sense for a ruby developer to have system ruby rather than rvm (easier to track updates) and still use gem package manager (portage ruby libraries are just too deprecated for developer use).

I also understand that those sources are not needed from user perspective (when a gentoo user install something ruby related, it will use portage ruby libs), but at least, could we have some "sources" use flag or something ?

Reproducible: Always

Steps to Reproduce:
1. emerge ruby
2. gem install ruby-debug19

Actual Results:  
Building native extensions. This could take a while... 
ERROR: Error installing ruby-debug19: 
ERROR: Failed to build gem native extension. 

/usr/bin/ruby19 extconf.rb 
checking for vm_core.h... no 

Expected Results:  
Successfully installed ruby-debug-<version>
1 gem installed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-28 15:25:07 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.