SubaruWRX55

Results 4 comments of SubaruWRX55

Looks like as soon as I run assets:precompile, it stops adding the origin header.

~/testOriginal [master]$ curl -I localhost:3000/assets/fa.woff HTTP/1.1 500 Internal Server Error Content-Type: application/font-woff Content-Length: 8504 X-Request-Id: fa67625df9c05085a4d2da1d1774683a X-Runtime: 0.344087 Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET Access-Control-Allow-Headers: x-requested-with Access-Control-Max-Age: 3628800 Server: WEBrick/1.3.1 (Ruby/1.9.3/2012-12-25) Date:...

can you share how you disable precompile on heroku? are you on cedar stack?

i got it. here is what i did 1) added a blank file in public/assets/manifest.yml 2) in production.rb change one line: config.assets.compile = true