JavaScript application.js not loading on rails app; Failed to clear tmp storage. Security Error ; Chrome

I have a rails app (on the dev server) and the application.js file is not loaded from the browser. When I make a direct call to the application.js file from the browser ex: myapp.com/assets/application.js-fingerprint it loads the javascript.

I have done the following and I suspect I may have done certain things incorrectly.

  1. I deployed the app on the dev server
  2. Ran RAILS_ENV='dev' bundle exec rake assets:clean
  3. After that RAILS_ENV='dev' bundle exec rake assets:clobber
  4. Finally RAILS_ENV='dev' bundle exec rake assets:precompile
  5. touch tmp/restart.txt (to restart passenger)
  6. sudo service httpd restart (while I know it's redundant to restart apache, I still went ahead and did so)

I use Apache, Rails 4.0, Capistrano 2.X.

I would really appreciate if anyone could point me in the right direction.

Update:

  1. It's an AWS instance running Amazon linux (flavour of CentOS)
  2. I get the following message on the javascript console on chrome developer tools.

Failed to clear temp storage: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. SecurityError

Answer:1

I am trying to push a value to a property of an array like below var obj = {}; obj.a = (obj.a || []).push(10); console.log( typeof obj.a ); // Returning number How can correct this to keep ...

I am trying to push a value to a property of an array like below var obj = {}; obj.a = (obj.a || []).push(10); console.log( typeof obj.a ); // Returning number How can correct this to keep ...

I'm having a serious trouble with attaching droppable functionality to dynamically created elements.! I cannot bind droppable when the item is created since there is an ajax call going when the a ...

I'm having a serious trouble with attaching droppable functionality to dynamically created elements.! I cannot bind droppable when the item is created since there is an ajax call going when the a ...

I have an object whose value may be undefined sometimes. So is it possible / valid / good practice to test it with an if case like below : if(params === undefined) { alert("sound." + params);...

I have an object whose value may be undefined sometimes. So is it possible / valid / good practice to test it with an if case like below : if(params === undefined) { alert("sound." + params);...

I'm working with angular material design. (https://material.angularjs.org/#/) I have the following piece of code: <md-input-container padding> <label>Some date</label> <input ...

I'm working with angular material design. (https://material.angularjs.org/#/) I have the following piece of code: <md-input-container padding> <label>Some date</label> <input ...

  1. angular material design icons
  2. angular material design components
  3. angular material design examples
  4. angular material design table
  5. angular material design template
  6. angular material design dialog
  7. angular material design buttons
  8. angular material design checkbox
  9. angular material design layout
  10. angular material design tutorial
  11. angular material design vs bootstrap
  12. angular material design slider
  13. angular material design form
  14. angular material design github
  15. angular material design dropdown
  16. angular material design theme
  17. angular material design modal
  18. angular material design bootstrap
  19. angular material design library
  20. angular material design drag and drop