Created
December 15, 2010 22:47
-
-
Save rick/742735 to your computer and use it in GitHub Desktop.
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 characters
# in <project>/.rvmrc | |
rvm ree-1.8.7-2010.01@optimis --create | |
. ~/bin/ree_settings |
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 characters
# in ~/.rvm/hooks/after_use | |
. ~/bin/unset_ree | |
echo "Now using $rvm_ruby_string" |
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 characters
# in ~/bin/ree_settings | |
export RUBY_HEAP_MIN_SLOTS=1000000 | |
export RUBY_HEAP_SLOTS_INCREMENT=1000000 | |
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
export RUBY_GC_MALLOC_LIMIT=400000000 | |
export RUBY_HEAP_FREE_MIN=500000 |
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 characters
# in ~/bin/unset_ree | |
unset RUBY_HEAP_MIN_SLOTS | |
unset RUBY_HEAP_SLOTS_INCREMENT | |
unset RUBY_HEAP_SLOTS_GROWTH_FACTOR | |
unset RUBY_GC_MALLOC_LIMIT | |
unset RUBY_HEAP_FREE_MIN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment