Question

Like as I mentioned in title - I have to precompile assets every time I've made any change to see how it looks like - I've tried config.assets.compile = true, without success.

I've also tried RAILS_ENV = 'development' but with same effect. Please help me because it is really annoying.

My system is running on:

  • Xubuntu
  • Rails -v: 3.1.1
  • Ruby -v: 1.9.2p290

I also tried:

config.action_controller.perform_caching = true
Was it helpful?

Solution

One cause of this could be that you ran rake assets:precompile once. The server then uses public/assets exclusively, without trying to compile your assets on the fly.

Try removing the public/assets directory.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top