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

前端 未结 15 1384
眼角桃花
眼角桃花 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:16

    put this in gem file

    gem 'bootstrap-sass', '~> 3.3.5'
    gem 'sass-rails', '>= 3.2'
    

    then run $ bundle install

    Restart the server.

提交回复
热议问题