title: Rails application deployment using chef cookbook
body: <p>I am trying to deploy rails application using chef cookbooks, <a href="https://github.com/jssjr/git" rel="nofollow">git</a> .</p>
  
  <p>Here is the example of the code I use to clone private repo from the github. </p>
  
  <pre><code>git "/var/www/hello_app" do
    repository "git://github.com/MyUser/MyProject.git"
    reference "master"
    action "sync"
    user "gituser"
  end
  </code></pre>
  
  <p>My concern is how do I run bundle update/bundle install and rake precompile.</p>
  
  <p>Also start the unicorn web server, I checked deploy resource of the chef docs also.</p>
  
  <p>I am exploring the other ways to get it done,</p>
  
  <p>kindly help me out</p>