How to disable adding “.self.” in Sprockets 3.0

前端 未结 2 525
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-02 07:36

Even if config.assets.digest = false is set Sprockets 3.0 keep adding .self. to all static files: application.css becomes applicatio

2条回答
  •  感情败类
    2021-02-02 08:11

    Downgrading sprockets worked for me. Add the following to your Gemfile

    gem 'sprockets', '2.11.0'
    

    and run

    bundle update sprockets
    

提交回复
热议问题