Mailinglist Archive: opensuse-ruby (69 mails)

< Previous Next >
Re: [opensuse-ruby] ruby 2.1
* Josef Reidinger <jreidinger@xxxxxxx> [Jan 08. 2014 15:21]:

1) path contain x86_64-linux but %rb_arch is x86_64-linux-gnu


Looking through the rubygems source code, I came up with this solution:

%{!?gem_platform: %global gem_platform %(ruby -r rubygems -r rbconfig -e 'print
Gem::Platform.new(RbConfig::CONFIG["arch"]).to_s')}


rubygem-nokogiri builds now locally for me.


Klaus
--
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB
16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
--
To unsubscribe, e-mail: opensuse-ruby+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-ruby+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups