Add support for rbenv and ruby perf fix
This commit is contained in:
12
zshrc
12
zshrc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user