title: chef script ant: command not found
body: <p>i got this method inside recipe</p>
  
  <pre><code>script "bashbashed" do
    interpreter "bash"
    user "root"
  
    code &lt;&lt;-EOH
    cd /my/path
    ant clean
    ant build
    ant deploy
    EOH
  end
  </code></pre>
  
  <p>returns </p>
  
  <pre><code>localhost STDERR: /tmp/chef-script20131004-5434-823zxp: line 1: cd: tarball: No such file or directory
  localhost /tmp/chef-script20131004-5434-823zxp: line 4: ant: command not found
  localhost /tmp/chef-script20131004-5434-823zxp: line 5: ant: command not found
  localhost /tmp/chef-script20131004-5434-823zxp: line 6: ant: command not found
  </code></pre>
  
  <p>login to guest and do ant -version. 
  ant is installed in the guest. am i still missing something here?</p>