Sass::SyntaxError: File to import not found or unreadable: bootstrap-sprockets

前端 未结 15 1390
眼角桃花
眼角桃花 2020-11-30 03:40

I am suddenly getting this error in development and in production on deployment.

custom.css.scss

@import \"bootstrap-sprockets\";
@import \"bootstrap         


        
15条回答
  •  迷失自我
    2020-11-30 03:58

    Make sure you don't have

    gem 'bootstrap'  # Remove this line
    gem 'bootstrap-sass'
    

    It should just be

    gem 'bootstrap-sass'
    

提交回复
热议问题