Add support for rbenv and ruby perf fix

This commit is contained in:
2013-07-17 18:46:38 -04:00
parent e11951bf2d
commit a33f3bc004
5 changed files with 14 additions and 10 deletions

12
zshrc
View File

@@ -61,8 +61,12 @@ source $HOME/.dotfiles/zsh/functions
# Customize to your needs...
export PATH=/usr/local/sbin:/usr/local/bin:${PATH}
PATH=$PATH:$HOME/bin
PATH="/usr/local/heroku/bin:$PATH"
# Initialize RVM
PATH=$PATH:$HOME/.rvm/bin
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
# Start rbenv
eval "$(rbenv init -)"
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