What to do if you get an error with bundle install by entering gem'bcrypt' in your Gemfile

Error details

Terminal


You have requested:
  bcrypt = 3.1.12

The bundle currently has bcrypt locked at 3.1.13.
Try running `bundle update bcrypt`

Cause of error

Occurs because you had an older version of bcrypt installed. In this case, the version of bcypt was 3.1.12 in Gemfile.lock, but Gemfile seems to have occurred because I tried to install it in 3.1.13. Be careful of different versions!

Countermeasures This can be solved by deleting `Gemfile.lock`. `Gemfile.lock` will be automatically generated by executing` bundle install`.

Recommended Posts

What to do if you get an error with bundle install by entering gem'bcrypt' in your Gemfile
What to do if you get a gcc error in Docker
What to do if you get a DISPLAY error in gym.render ()
What to do if you get angry with OpenSSL with pyenv install
[Rails] What to do if you accidentally install bundle in the production environment in your local environment
[Rails] What to do if you can't get an error message with the errors method
What to do if you get a "302" error in your controller unit test code in Rails
What to do if you get an error in Basic authentication during Rails test code
What to do if you get an Argument Error: wrong number of arguments (given 2, expected 0) in your RSpec test
What to do if you get an error during rails db: reset
What to do if you get an uninitialized constant Likes Controller error
What to do if an error occurs when nokogiri enters when bundle install
What to do if you get an error when you hit Heroku logs
What to do if you get an [An HTTP request took too long to complete.] Error in Docker.
What to do if you get Could not locate Gemfile or .bundle / directory
What to do if you get an error on heroku rake db: migrate
What to do if you get a java.io.IOException in GlassFish
What to do if mysql2 gets a bundle install error
What to do if you get a wrong number of arguments error in binding.pry
What to do if you can't get the text of an element in Selenium
What to do if you get the error Couldn't find Item without an ID
What to do if an error occurs in VS Code when importing a django module or your own module installed by pip install
[Java] What to do if you get an error in Eclipse saying "Not allowed at source level below 1.X"
What to do if you get an error saying "Please enter a valid value" when getting with Rails datetime_field
What to do if you install Ubuntu
[Rails] What to do if you can't get parameters with form_with
What to do if you get a "Mysql2 :: Error: Operand should contain 1 column (s)" error in Rails
What to do if you get a JNI shared library error when trying to build in Eclipse
What to do if an error occurs when doing npm install axios in React + Typescript project
What to do if you get a groovy warning in Thymeleaf Layout
What to do and how to install when an error occurs in DXRuby 1.4.7
What to do if you should have installed Rails but an error occurs with rails -v (for beginners)
What to do if you can't bundle update and bundle install after installing Ruby 3.0.0 in the Rails tutorial
What to do if you get the error Too long with no output (exceeded 10m0s) on CircleCI
What to do if you get the error message unrecognized selector send to instance "***"
What to do if you get To install the missing version, run `gem install bundler: 2.1.4`
What to do if an ActionController :: UnknownFormat error occurs
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do if you get an error saying Cannot find a valid baseurl for repo when you use yum -y install docker in a udemy course using CentOS7
After installing'devise''bootstrap' of gemfile with rails, what to do when url is an error
What to do if you get a port error when docker-compose up on Mac
What to do when you launch an application with rails
What to do if you get an error saying "Could not find a JavaScript runtime." When starting rails server
What to do if you don't see the test code error message in the terminal console
What to do if you get a "Cannot Pull Container Error" when starting ECS ​​Fargate
How to make a jar with old Hadoop (hadoop-core-0.20.2-cdh3u6) in Gradle: (What to do if you get Could not expand ZIP ..)
What to do if you get angry with "ERROR: There are no scenarios; must have at least one" even though you should have entered yarn in Docker
What to do if you forget the root password in CentOS7
[Note] What to do if bundle install in Chapter 3 of the rails tutorial is not possible
What to do if an SSH key authentication error occurs during automatic deployment to EC2 with Capistrano
What to do if you get ActiveRecord :: StatementInvalid: Mysql2 :: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near when you try to reset Heroku
I get an error with bundle install and puma cannot be installed.
[Composer] [Laravel] What to do if you cannot install due to insufficient memory
What to do if you can't install the plugin from the Eclipse marketplace
no space left on device What to do if an error occurs
What to do if you don't like the code generated by swagger-codegen-cli
What to do if you get a MiniMagick vulnerability alert on GitHub
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
What to do if the build fails with the error "Module compiled with Swift x.x.x cannot be imported by the Swift x.x.x compiler"
What to do if you can't activate the select box created by bootstrap-select