I have simple bash script file, it contains only one line:
rvm gemset use --create 2.0.0@PRJ_NAME
If I run this script with:
./scriptname.sh
I get a well-known error message from RVM
RVM is not a function, select.....
but if I run the script with
bash scriptname.sh
everything is ok.
Can someone explain the difference to me?