Error when introducing SNS authentication

This article ends in an instant.

Prepare for the introduction of SNS authentication by adding the following Gem Image from Gyazo

Do bundle install, set environment variables, etc. I got this error when I accessed localhost: 3000. ↓ ↓ ↓ ↓ ↓

Image from Gyazo

Honestly

cannot load such file -- omniauth

I searched for a solution, but it didn't hit at all .. I checked both Gemfile and Gemfile.lock, but it doesn't seem to be a problem ..

So when you are in trouble

bundle update

Just typing this command worked fine in my environment.

What is bundle update?

A command that updates the part where the version does not mesh well when an error occurs when the version of Gem does not mesh well.


It seems that it is okay if you hit it for the time being

I hope it helps those who face similar errors.

Recommended Posts

Error when introducing SNS authentication
Error when using SnapKit
Error when bundle install
Error when deploying EC2
SNS authentication using Rails google
About errors during SNS authentication
Error when playing with java
Error when using rails capybara
SpringBoot + Mybatis error when booting
I get a 404 error when testing forms authentication with Spring Security
Error when npm install on Windows 7
Thinking when introducing a new library
Error when deploying EC2 on CircleCI
About error when implementing spring validation