Bug 953948 - ruby_version shouldn't be empty
Summary: ruby_version shouldn't be empty
Keywords:
Status: CLOSED DUPLICATE of bug 923703
Alias: None
Product: Fedora
Classification: Fedora
Component: ruby
Version: 19
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-19 15:34 UTC by Karsten Hopp
Modified: 2013-04-22 07:15 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-22 07:15:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karsten Hopp 2013-04-19 15:34:24 UTC
Description of problem:
ruby -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
 prints nothing with ruby-2.0. It prints '1.9.1' with F18 ruby.

Version-Release number of selected component (if applicable):
ruby-2.0.0.0-6.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1. ruby -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
2.
3.
  
Actual results:
no output

Expected results:
2.0.0

Additional info:
This breaks p.e. the latest vim from f19 git. autoconf tries to figure out the ruby libraries and versions and ends up with this:
 -DDYNAMIC_RUBY_DLL=\"libruby.so.2.0.0\" -DDYNAMIC_RUBY_VER= -I/usr/include

This should be 
 -DDYNAMIC_RUBY_DLL=\"libruby.so.2.0.0\" -DDYNAMIC_RUBY_VER=20 -I/usr/include

Comment 1 Vít Ondruch 2013-04-22 07:15:41 UTC

*** This bug has been marked as a duplicate of bug 923703 ***


Note You need to log in before you can comment on or make changes to this bug.