title: CHEF >> rails command , cookbook, recipe
body: <p>I am having trouble with cookbook and rails...
  so this is my latest code...I already installed ruby...</p>
  
  <p>on my cookbook,</p>
  
  <pre><code>bash "rails" do
   user "root"
   code &lt;&lt;-EOH gem install rails --no-ri --no-rdoc" EOH
  end
  
  bash "create myapp dir" do
   code &lt;&lt;-EOH
   rails new myapp
   EOH
  end
  </code></pre>
  
  <p>help rails new myapp isnt working!</p>