ember.js - ember-cli assets not loading rails 4 -


i have page requesting 'assets/ember/scalus-services.js'. these assets did not exist, since assets built ember cli md5 fingerprint

i.e - 'ember/assets/scalus-services-000aaa111222eee333333111222eee33.js'

hence received:

failed load resource: server responded status of 404 (not found)

when using asset helpers asset_path, path resolved 1 of 3 ways

  1. it looks in manifest-.json (loaded memory rails.application.assets) under 'assets' object. assets object path pass helper 'ember/scalus-services.js' key , fingerprinted file name value. value includes cloudfront prepended path (which set in brocfile.js) , rails asset path ('assets/')

  2. if file not found in manifest file, search asset paths in rails file

  3. if isn't found in rails asset paths, path served is

the problem though servers had manifest file correct entries in 'public/assets'. yet served path is.

this leads me believe bug sprockets or perhaps deploy process.

however: bug didn't happen after deployment. started 12 hours after deployed.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -