---
ruby::version::env:
  Darwin:
    BOXEN_S3_HOST: "%{::boxen_s3_host}"
    BOXEN_S3_BUCKET: "%{::boxen_s3_bucket}"
    CFLAGS: "-I%{::homebrew::config::installdir}/include -I/opt/X11/include"
    LDFLAGS: "-L%{::homebrew::config::installdir}/lib -L/opt/X11/lib"
    RUBY_CONFIGURE_OPTS: "--without-gmp --with-readline-dir=%{::homebrew::config::installdir}/opt/readline"

  1.8.7-p358:
    RUBY_CONFIGURE_OPTS: "--disable-tk --disable-tcl --disable-tcltk-framework"

  1.9.2-p290:
    CC: "gcc-4.2"

  1.9.2-p320:
    CC: "gcc-4.2"

  ree-1.8.7-2012.02:
    CC: "gcc-4.2"
    CFLAGS: "-O2 -fno-optimize-sibling-calls"

ruby::prefix: "%{::boxen::config::home}"
ruby::user: "%{::boxen_user}"

---
ruby::version::env:
  Darwin:
    BOXEN_S3_HOST: "%{::boxen_s3_host}"
    BOXEN_S3_BUCKET: "%{::boxen_s3_bucket}"
    CFLAGS: "-I%{::homebrew::config::installdir}/include -I/opt/X11/include"
    LDFLAGS: "-L%{::homebrew::config::installdir}/lib -L/opt/X11/lib"
    RUBY_CONFIGURE_OPTS: "--without-gmp --with-readline-dir=%{::homebrew::config::installdir}/opt/readline"

  1.8.7-p358:
    RUBY_CONFIGURE_OPTS: "--disable-tk --disable-tcl --disable-tcltk-framework"

  1.9.2-p290:
    CC: "gcc-4.2"

  1.9.2-p320:
    CC: "gcc-4.2"

  ree-1.8.7-2012.02:
    CC: "gcc-4.2"
    CFLAGS: "-O2 -fno-tree-dce -fno-optimize-sibling-calls"

ruby::prefix: "%{::boxen::config::home}"
ruby::user: "%{::boxen_user}"

Fix rubygems timeout.rb segfaults on REE
Fix rubygems timeout.rb segfaults on REE

Fixes #80, https://github.com/sstephenson/ruby-build/wiki#187-p302-and-lower-segfaults-for-https-requests-on-os-x-107
