My Spring Boot application was failing on OS X due to an environment variable in .bash_profile that made use of the ${ pattern. The initialization process was attempting to perform token substitution of a perceived variable, and it blew up.
The environment variable that broke me is PROMPT_COMMAND, where it is legal for the string to contain variables that use the same format as SPEL.
Any easy fix would be to have the initialization process explicitly ignore known troublesome environment variables (PROMPT_COMMAND).