[RUBY] After installing'devise''bootstrap' of gemfile with rails, what to do when url is an error

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 スクリーンショット 2020-10-30 13.13.22.png Even if I delete @import "bootstrap-sprockets";image.png 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.

Recommended Posts

After installing'devise''bootstrap' of gemfile with rails, what to do when url is an error
What to do when you launch an application with rails
[Rails] What to do when the Refile image is not displayed when writing the processing at the time of Routing Error
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do when Address already in use is displayed after executing rails s
What to do if you get an error saying "Please enter a valid value" when getting with Rails datetime_field
[Rails] What to do if you can't get an error message with the errors method
[Rails] What to do when the view collapses when a message is displayed with the errors method
[Rails 6] What to do when a missing a template error occurs after introducing haml [Super easy]
[Programming beginner] What to do when rails s becomes an error in the local development environment
What to do if the app is not created with the latest Rails version installed when rails new
[IOS] What to do when the image is filled with one color
What to do if you get an error during rails db: reset
What to do when "npm ERR! Code ENOSELF" is displayed after npm install
What to do and how to install when an error occurs in DXRuby 1.4.7
What to do if an error occurs when nokogiri enters when bundle install
Notes on what to do when EC2 is set up with t2.micro
What to do if you get an error when you hit Heroku logs
What to do if you get an error with bundle install by entering gem'bcrypt' in your Gemfile
What to do if you should have installed Rails but an error occurs with rails -v (for beginners)
What to do if zip dies if there is a pom when making an executable jar with gradle
What to do when is invalid because it does not start with a'-'
What to do if ffi installation fails when launching an application in Rails
What to do when a null byte error occurs
What to do when rails creates a 〇〇 2.rb file
What to do if an ActionController :: UnknownFormat error occurs
[Rails] How to deal with URL changes after render
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
ParseException: What to do when Unparseable date is reached
What to do when routing settings do not work after building Docker environment with Laravel
What to do when ‘Could not find’ in any of the sources appears in the development environment with Docker × Rails × RSpec
[Rails] What to do when you want to generate an error that cannot be destory when foreign key restrictions are applied
What to do if you get an error saying "Could not find a JavaScript runtime." When starting rails server
[Memorandum] What is an error?
Summary of initial work when creating an app with Rails
How to specify db when creating an app with rails
What happens to instance variables when copying an instance with ruby
What is an immutable object? [Explanation of how to make]
What to do if you get an error in Basic authentication during Rails test code
What to do when an error occurs in rails db: migrate ((StandardError: An error has occurred, this and all later migrations canceled :))
What to do when an error (StandardError: An error has occurred, this and all later migrations canceled:) appears in rails db: migrate
<Dot installation> What to do if you cannot proceed due to an error when building a development environment for Rails learning.
What to do when an UnsupportedCharsetException occurs in a lightweight JRE
[Rails] What to do when the error No database selected and Unknown database appears in db: migrate
[Rails] What to do if data is not registered in DB
[Note] What to do if bundle install in Chapter 3 of the rails tutorial is not possible
What to do if Cloud9 is full in the Rails tutorial
What I was addicted to when implementing google authentication with rails
I want to make the frame of the text box red when there is an input error
What to do if an SSH key authentication error occurs during automatic deployment to EC2 with Capistrano
[Rails] What to do when rails s does not respond or does not stop
What to do after Vagrant install
What to do when javax.batch.operations.JobStartException occurs
[Rails] What to do if you can't get parameters with form_with
What to do if an error occurs when doing npm install axios in React + Typescript project
What to do if you get Application with name appName is already registered. When you try to start GlassFish
What to do if the image posted by refile disappears after setting a 404 error page in Rails
[Rails / Docker] What to do if access is denied by the browser (localhost: 3000) after adding a gem
Add gem'rails-i18n','~> 6.0.0' and what to do if bundle install gives an error
What to do if the background image is not applied after deployment
What to do when CentOS cannot be started with VirtualBox on Catalina