title: Assets Forbidden on Rails Production Server
body: <p>I am attempting to deploy a rails app onto an Apache server. I am attempting to access jquery in the app's assets folder with:</p>
  
  <pre><code>&lt;script src="/assets/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I am also attempting to load a custom script with a javascript_include_tag. As I look in the javascript console of my web browser, I see that the server responds with a 403 forbidden error code when trying to access these scripts.</p>
  
  <p>I attempted to chmod 775 my /var/www//public/assets folder but this did not resolve the problem. I have tried both running rake assets:precompile and changing the production.rb to serve static files and setting config.assets.compile to true.</p>