When I do this: rake assets: precompile RAILS_ENV = production I get, for example, the following files in my public / assets folder:
- application-7af6c31514bcdd4cce3c96892af4487f.js
- applications 7af6c31514bcdd4cce3c96892af4487f.js.gz
- application.js
- application.js.gz
The last 2 are a problem because it leads to the fact that the compiled version gets access to the development, and I do not understand why they are generated.
I have the following line in my production.rb:
config.assets.digest = true
source share