Fixed rbenv/nenv bugs in setup.sh