title: Capistrano for Rails 3.1
body: <p>I am using Rails 3.1 and Capistrano, I get  </p>
  
  <p>No such file or directory</p>
  
  <p>errors for /public/images, /public/stylesheets, and public/javascripts </p>
  
  <p>errors. Searching the Internet, I found a number of blog posts suggesting</p>
  
  <pre><code>set :normalize_asset_timestamps, false
  </code></pre>
  
  <p>which removed these problems. However, I am not sure if I am doing
  the right thing since precompile still fails and I am new to Rails 3.1.</p>
  
  <pre><code>rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile
  </code></pre>
  
  <p>still fails on the production server.</p>
  
  <p>I set </p>
  
  <pre><code>load 'deploy/assets'
  set :rake,      "bundle exec rake"
  </code></pre>
  
  <p>in deploy.rb but it doesn't help. Still cap deploy complains that it cannot find certain gems</p>
  
  <p>Thanks in advance for any help.</p>
  
  <p>Steve</p>