I have the following:
_shellScript = "../Dependency/test.sh"
exec 'sh #{_shellScript}'
But when I go to execute the ruby script it ends me up at a shell prompt instead of executing the script that is located within the variable _shellScript.
Any ideas would be appreciated!
execstring. In single quote strings Ruby does not provide interpolation (#{}). That could aslo be the error.