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

前端 未结 15 1420
眼角桃花
眼角桃花 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 04:22

    I had same problem but i solved it, you just need to add your gem bootstrap-sass in development group like this:

        group :development do
        gem 'bootstrap-sass'
        end
    

    i hope this will help

提交回复
热议问题