From: "mpapis (Michal Papis)" Date: 2013-09-16T08:17:27+09:00 Subject: [ruby-core:57227] [ruby-trunk - Bug #8879] String#to_r fails after moving ruby to other OSX system Issue #8879 has been updated by mpapis (Michal Papis). can you try with this binary: http://rvm.io/binaries/osx/10.8/x86_64/ruby-2.0.0-p247.tar.bz2 both systems are OSX 10.8.* with 64bit CPU (would different CPU matter)? as for -O0 - wouldn't that be like super slow? ---------------------------------------- Bug #8879: String#to_r fails after moving ruby to other OSX system https://bugs.ruby-lang.org/issues/8879#change-41842 Author: mpapis (Michal Papis) Status: Feedback Priority: Normal Assignee: Category: 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 ((())) 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/