Origin environment
・ MacOS Catalina 10.15.7
・ Ruby 2.6.6
・ Rails 5.1.6
After the rails tutorial is over, I will make a note of how to resolve the error when I started creating the original application for the first time.
Add the following to the gemfile and add bundle install
gem 'devise'
gem 'bootstrap', '~> 4.4.1'
gem 'devise-bootstrap-views', '~> 1.0'
Check / users / sign_up
from rails routes
.
http://localhost:3000/users/sign_up
Error when searching
Even if I delete @import "bootstrap-sprockets";
↓
I tried changing the gemfile and it didn't change.
How to solve It was simple. All I had to do was restart the server. In case of changing config or js other than view file and controller, it seems that it is often cured by restarting.