Closed jobster closed 5 years ago
I've been able to reproduce this.
I also reproduced this on Mojave.
The script you're referring to removes bash-it and re-installs it. That's why re-running the script within the shell that already ran bash-it fails again.
I'm able to reproduce this on a new machine trying to get a dev setup on my team
Proposed a fix with : https://github.com/pivotal/workstation-setup/pull/250
I tried the fix and we have a new error...
/Users/tsedano/.bash_it/bash_it.sh: line 24: /bin/bash/lib/composure.bash: Not a directory
I think a way around the problem is to add export BASH_IT="$HOME/.bash_it"
before running bash_it.sh
but I'm not sure if that is the best solution.
When we run the setup script (exact command is
./setup.sh java8 node docker
), it fails with the following error:We tried running
source ~/.bash_profile
from the terminal directly after the script failed. We were then able to successfully runbash-it
commands. However, when we re-ran the script within the shell that successfully ran bash-it, it still failed on the same line.The only way we were able to continue with the
setup.sh
script was to run the remaining commands inconfiguration-bash.sh
manually and then comment out the line insetup.sh
that sourcesconfiguration-bash.sh
.