Rails 3.2: Asset precompilation breaks development mode
Reported by Ignacio Huerta | June 4th, 2012 @ 05:35 PM
I noticed that to use the application in production mode I had to precompile the assets (rake assets:precompile).
This in turn broke my development environment, because the
JavaScript is sent twice to the browser:
- Compressed as front.js and applicacion.js - Uncompressed as all
the small files (jquery, jquery-ui...)
As a workaround I solved it removing the files on public/assets/js.
No comments found
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป