I am suddenly getting this error in development and in production on deployment.
custom.css.scss
@import \"bootstrap-sprockets\";
@import \"bootstrap
I was also facing the similar error in development environment:
Error Image
I solved this problem by-
In my gemfile, I added them -
gem 'bootstrap', '~> 4.2.1'
gem 'jquery-rails'
In application.js file,add these -
//= require jquery3
//= require popper
//= require bootstrap-sprockets
In the file with .scss extension, simply add -
@import "bootstrap";
After that, just run bundle install