Open halyph opened 5 years ago
I landed on this while googling for the same error, just need to do:
$ sdk selfupdate force
I'm also on MacOS with its old bash. I got sdk update
to work but it's clunky.
First I updated bask with brew install bash
Then...
# in the default shell
$ echo $BASH_VERSINFO
3
# run bash from /usr/local/bin installed from brew
$ bash
$ echo $BASH_VERSINFO
5
# bring in my sdk settings and everything then works
$ source ~/.bash_profile
$ sdk v
SDKMAN 5.7.3+337
same here
+1
It would be nice if the error message told you to execute sdk selfupdate force
. All it currently says is to use brute force, but doesn't tell you how.
Why is bash 4 necessary anyway? Seems to work just fine with 3.x.
Ref
I have updated Macos to Mojave