Actions
Bug #6753
closed[API] Asset pipeline does not work unless config/environments/production.rb is present at buildtime and runtime
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Story points:
-
Description
API server still has the problem that was fixed in Workbench in 318e3d183c3800863731a20a10f1b8bf9cc82280. The Workbench fix didn't work as is: it makes "rake assets:precompile" crash, see commit message @ caa9e89d531f03838e64d36d050be9d96e7c6c96.
This could be a matter of updating rails/actionpack, but more likely it needs something more subtle.
Related issues
Updated by Tom Clegg over 8 years ago
To confirm that this is truly a problem for API server (Rails3) the same way it was in Workbench (Rails4):
- Delete your environment/production.rb
- Delete precompiled assets
- Run
RAILS_ENV=production rake assets:precompile
- Change one of the asset pipeline config settings (e.g., digest, compress) in the production part of
config/application.yml
- Delete / move aside precompiled assets
- Run
RAILS_ENV=production rake assets:precompile
- Did assets get compiled with your new settings? (And if you run a server, does it use your new settings?) If so, it sounds like this bug doesn't exist.
Updated by Ward Vandewege almost 3 years ago
- Target version deleted (
Arvados Future Sprints)
Actions