gem2rpm and Ruby 1.9

Bohuslav Kabrda bkabrda at redhat.com
Mon Jan 16 08:33:27 UTC 2012


Running Ruby 1.9.3, I get these from RbConfig:

irb(main):003:0> RbConfig::CONFIG['ruby_version']
=> "1.9.1"
irb(main):004:0> RbConfig::CONFIG['LIBRUBY']
=> "libruby.so.1.9.1"
irb(main):005:0> RbConfig::CONFIG['RUBY_PROGRAM_VERSION']
=> "1.9.3"

Could you provide a specific case of the incompatibility you are talking about?

Regards,
Bohuslav.

----- Original Message -----
> I started making a patch for Ruby 1.9 and ran into something odd.
>  The
> 1.9.3 rpms built from the ruby.spec project, provide a ruby(abi) of
> 1.9.1.  I assure you that 1.9.3 and 1.9.1 are not 100% compatible.
> Could we move the ruby.spec rpms to 1.9.3?  Or if we want something
> more generic possibly 1.9.
> 
> 
> Mike
> 
> 
> 
> On Fri, Jan 13, 2012 at 3:08 AM, Vít Ondruch <vondruch at redhat.com>
> wrote:
> > Dne 13.1.2012 02:59, Michael Stahnke napsal(a):
> >>
> >> On Thu, Jan 12, 2012 at 5:59 PM, Michael
> >> Stahnke<mastahnke at gmail.com>
> >>  wrote:
> >>>
> >>> Has gem2rpm been updated for the Ruby 1.9 changes?  The
> >>> guidelines
> >>> seem quite a bit different, an the gem2rpm macros in the current
> >>> state
> >>> (at least on EL6) don't map up.  Things like
> >>>
> >>> %gemdir rather than %gem_dir.
> >>
> >> I probably should have also been clear I am well-aware the Ruby
> >> 1.9
> >> changes won't impact EL6, but at my work they do :)
> >> _______________________________________________
> >> ruby-sig mailing list
> >> ruby-sig at lists.fedoraproject.org
> >> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
> >
> >
> > It was not updated yet, but any help is greatly appreciated. I am
> > accepting
> > pull requests on github.
> >
> > Vit
> > _______________________________________________
> > ruby-sig mailing list
> > ruby-sig at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
> _______________________________________________
> ruby-sig mailing list
> ruby-sig at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig


More information about the ruby-sig mailing list