Last active
December 23, 2015 14:19
Revisions
-
mrkn revised this gist
Sep 21, 2013 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,9 +9,9 @@ trap 'exit 1' 2 eval "$(rbenv init -)" export RUBY_CONFIGURE_OPTS_ARRAY=( \ CC=clang CXX=clang++ \ optflags="-O2 -march=corei7-avx -mtune=corei7-avx" \ debugflags="-ggdb3" \ ) export RUBY_CONFIGURE_OPTS=" \ -
mrkn revised this gist
Sep 21, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export MAKE_OPTS="-j 4" [ -d ~/.rbenv/sources/$version ] && rm -rf ~/.rbenv/sources/$version rbenv install -k -f $version export RBENV_VERSION=$version rbenv exec gem update --system 2.1.4 -
mrkn revised this gist
Sep 21, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,6 +34,8 @@ export RUBY_CONFIGURE_OPTS=" \ export MAKE_OPTS="-j 4" [ -d ~/.rbenv/sources/$version ] && rm -rf ~/.rbenv/sources/$version rbenv install -k $version export RBENV_VERSION=$version -
mrkn revised this gist
Sep 21, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export RUBY_CONFIGURE_OPTS=" \ --with-opt-dir=$(brew --prefix) \ " export MAKE_OPTS="-j 4" rbenv install -k $version -
mrkn revised this gist
Sep 21, 2013 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export RUBY_CONFIGURE_OPTS=" \ --with-libffi-dir=$(brew --prefix libffi) \ --with-openssl-dir=$(brew --prefix openssl) \ --with-readline-dir=$(brew --prefix readline) \ --with-opt-dir=$(brew --prefix) \ " export MAKE_OPTS="-j 2" -
mrkn created this gist
Sep 21, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ #! /bin/bash PATH=~/.rbenv/bin:~/.rbenv/plugins/ruby-build/bin:$PATH version=${1:-2.1.0-dev} trap 'exit 1' 2 eval "$(rbenv init -)" export RUBY_CONFIGURE_OPTS_ARRAY=( \ CC=clang, CXX=clang++, \ optflags="-O2 -march=corei7-avx -mtune=corei7-avx", \ debugflags="-ggdb3", \ ) export RUBY_CONFIGURE_OPTS=" \ --with-arch=x86_64 \ --with-valgrind \ --with-out-ext=tk,tk/* \ --enable-shared \ --enable-pthread \ --disable-install-doc \ --disable-libedit \ --with-gdbm-dir=$(brew --prefix gdbm) \ --with-dbm-dir=$(brew --prefix gdbm) \ --with-dbm-type=gdbm_compat \ --with-libyaml-dir=$(brew --prefix libyaml) \ --with-libffi-dir=$(brew --prefix libffi) \ --with-openssl-dir=$(brew --prefix openssl) \ --with-readline-dir=$(brew --prefix readline) \ " export MAKE_OPTS="-j 2" rbenv install -k $version export RBENV_VERSION=$version rbenv exec gem update --system 2.1.4 rbenv exec gem install bundler --pre --no-ri --no-rdoc rbenv rehash