You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not sure if this is expected or not, but if not, maybe look up set -u, I just started playing with it so, just experimenting here. my script had nothing to do with RVM.
The error happened when RVM was sourced by the shell, so common path methinks...
The text was updated successfully, but these errors were encountered:
set -u
This option causes the bash shell to treat unset variables as an error and exit immediately. This brings us much closer to the behavior of higher-level languages.
@ORESoftware, something in your script ended up calling rvm_bash_nounset. Try adding set -x to your script to print out line by line script execution. This may help pinpoint your issue.
I have a bash script that calls
set -u
I got this error in my terminal
bash: rvm_bash_nounset: unbound variable
not sure if this is expected or not, but if not, maybe look up
set -u
, I just started playing with it so, just experimenting here. my script had nothing to do with RVM.The error happened when RVM was sourced by the shell, so common path methinks...
The text was updated successfully, but these errors were encountered: