When I do: rake assets:precompile RAILS_ENV=production I get for example the following files in my public/assets folder:
The last 2 are a problem because it causes the compiled version to get served in development and I don't understand why they are being generated.
I have the following line in my production.rb:
config.assets.digest = true
To stop the creation of the non-hashed filenames in public use:
rake assets:precompile:primary RAILS_ENV=production
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With