title: Executing shell script from ruby script
body: <p>I have the following:</p>
  
  <pre><code>_shellScript = "../Dependency/test.sh"
  exec 'sh #{_shellScript}'
  </code></pre>
  
  <p>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.</p>
  
  <p>Any ideas would be appreciated!</p>