Update code loading nvm and rbenv