Asset compiling crashing on server environment with: “NoMethodError: undefined method `[]' for nil:NilClass”

前端 未结 3 1391
Happy的楠姐
Happy的楠姐 2020-12-30 01:16

I\'ve been pulling my hair out for this one. I\'ve always had a bad relationship with the asset-pipeline, it is always giving me trouble.. And today again..

When I t

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 01:56

    I had the samme issue and it turned out to be a css file containing asset-url that didnt have the .scss extension. Weirdly I could compile the assets locally but not on the server.

提交回复
热议问题