1

Such a strange problem, but I deployed to production, and it won't update with my new CSS changes because of a caching issue.

I tried this :

bundle exec rake assets:precompile

But that returns :

rake aborted!
Don't know how to build task 'assets:precompile'

Ah, so I must be missing the sprockets in my application.rb perhaps. I tried everything on this link : How to build task 'assets:precompile' . And every solution caused a load error for not finding the items that it pointed out.

What should I do?

Rails. 3.0.5

Community
  • 1
  • 1
Trip
  • 26,756
  • 46
  • 158
  • 277

1 Answers1

4

try clearing your browser cache.

this blog post was informative for me: http://blog.55minutes.com/2012/02/untangling-the-rails-asset-pipeline-part-1-caches-and-compass/

Ben
  • 739
  • 6
  • 25