-
-
Save wayneeseguin/647356 to your computer and use it in GitHub Desktop.
This file contains 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
export RUBY_HEAP_MIN_SLOTS=1000000 | |
export RUBY_HEAP_SLOTS_INCREMENT=1000000 | |
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
export RUBY_GC_MALLOC_LIMIT=1000000000 | |
export RUBY_HEAP_FREE_MIN=500000 |
This file contains 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
#!/usr/bin/env bash | |
# ~/.rvm/hooks/after_use | |
# Triggered on 'rvm use X' and 'rvm X'. | |
case "$rvm_ruby_string" in | |
ree*) | |
export RUBY_HEAP_MIN_SLOTS=1000000 | |
export RUBY_HEAP_SLOTS_INCREMENT=1000000 | |
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
export RUBY_GC_MALLOC_LIMIT=1000000000 | |
export RUBY_HEAP_FREE_MIN=500000 | |
;; | |
*) | |
unset RUBY_HEAP_MIN_SLOTS RUBY_HEAP_SLOTS_INCREMENT RUBY_HEAP_SLOTS_GROWTH_FACTOR RUBY_GC_MALLOC_LIMIT RUBY_HEAP_FREE_MIN | |
;; | |
esac |
This file contains 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
#!/usr/bin/env bash | |
# Also append to ~/.rvm/environments/<ruby env id> | |
# for example: ~/.rvm/environments/ree-1.8.7-2010.02 | |
export PATH="/Users/wayne/.rvm/gems/ree-1.8.7-2010.02/bin:/Users/wayne/.rvm/gems/ree-1.8.7-2010.02@global/bin:/Users/wayne/.rvm/rubies/ree-1.8.7-2010.02/bin:/Users/wayne/.rvm/bin:$PATH" | |
rvm_path='/Users/wayne/.rvm' | |
export rvm_path | |
RUBY_VERSION='ree-1.8.7-2010.02' | |
export RUBY_VERSION | |
GEM_HOME='/Users/wayne/.rvm/gems/ree-1.8.7-2010.02' | |
export GEM_HOME | |
GEM_PATH='/Users/wayne/.rvm/gems/ree-1.8.7-2010.02:/Users/wayne/.rvm/gems/ree-1.8.7-2010.02@global' | |
export GEM_PATH | |
BUNDLE_PATH='/Users/wayne/.rvm/gems/ree-1.8.7-2010.02' | |
export BUNDLE_PATH | |
MY_RUBY_HOME='/Users/wayne/.rvm/rubies/ree-1.8.7-2010.02' | |
export MY_RUBY_HOME | |
IRBRC='/Users/wayne/.rvm/rubies/ree-1.8.7-2010.02/.irbrc' | |
export IRBRC | |
rvm_ruby_string='ree-1.8.7-2010.02' | |
export rvm_ruby_string | |
unset rvm_gemset_name | |
unset MAGLEV_HOME | |
export RUBY_HEAP_MIN_SLOTS=1000000 | |
export RUBY_HEAP_SLOTS_INCREMENT=1000000 | |
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
export RUBY_GC_MALLOC_LIMIT=1000000000 | |
export RUBY_HEAP_FREE_MIN=500000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment