Project

General

Profile

Actions

Bug #6753

closed

[API] Asset pipeline does not work unless config/environments/production.rb is present at buildtime and runtime

Added by Tom Clegg over 7 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Start date:
07/23/2015
Due date:
% Done:

0%

Estimated time:
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

Related to Arvados - Bug #6749: [API] "undefined method `asset_path`" exception on login failureRejected07/23/2015

Actions
Actions #1

Updated by Tom Clegg over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Tom Clegg over 7 years ago

  • Description updated (diff)
Actions #3

Updated by Tom Clegg over 7 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.
Actions #4

Updated by Ward Vandewege over 1 year ago

  • Target version deleted (Arvados Future Sprints)
Actions #5

Updated by Peter Amstutz 10 months ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF