Issue #8879 has been updated by mpapis (Michal Papis).


the latest binary with patches from r43449 and r43514 is available here http://rvm.io/binaries/experimental/osx_106plus_ruby_8879/ruby-2.0.0-p247.tar.bz2
all used patches:

https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/2.0.0/43449.patch
https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/2.0.0/43514.patch
https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/2.0.0/cc_env.patch
https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/2.0.0/static.patch
https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/2.0.0/remove_digest_so.patch
https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/2.0.0/logging.patch

----------------------------------------
Bug #8879: String#to_r fails after moving ruby to other OSX system
https://bugs.ruby-lang.org/issues/8879#change-42849

Author: mpapis (Michal Papis)
Status: Open
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category: platform/darwin
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
I got reported by users (((<rvm issue 2189|URL:https://github.com/wayneeseguin/rvm/issues/2189>))) that a static binary compiled for OSX after moving to other system fails for the method (({String#to_r})):
 ruby -e 'puts ".8".to_r'
 0
The same binary checked on the build system produces proper result:
 ruby -e 'puts ".8".to_r'
 4/5
Also the same version compiled from source on the target system produces proper result:
 ruby -e 'puts ".8".to_r'
 4/5
Please help me debug the problem, can it be related to compilation with (({clang}))?
=end



-- 
http://bugs.ruby-lang.org/