Skip to content

Instantly share code, notes, and snippets.

@neonichu
Created October 10, 2014 14:47
Show Gist options
  • Save neonichu/8ee9bdc43235a0d4819f to your computer and use it in GitHub Desktop.
Save neonichu/8ee9bdc43235a0d4819f to your computer and use it in GitHub Desktop.
Installing Ruby 1.9.3 on OS X 10.10
#!/bin/sh
ruby-build -p 1.9.3-p484 /target/path < /path/to/ruby.diff
--- ext/dl/extconf.rb 2010-02-25 23:49:20.000000000 +0100
+++ ext/dl/extconf.rb 2014-10-09 18:18:15.000000000 +0200
@@ -1,7 +1,7 @@
require 'mkmf'
if RbConfig::CONFIG['GCC'] == 'yes'
- $CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer"
+ $CFLAGS << " -fno-omit-frame-pointer"
end
$INSTALLFILES = [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment