can't activate bcrypt-ruby (~> 3.0.0), already activated bcrypt-ruby-3.1.1. Make sure all dependencies are added to Gemfile

后端 未结 9 2064
不知归路
不知归路 2020-12-03 05:13

I have Rails 4.0.0 app. When I run bundle install command there is no problem. This is my GemFile.

source \'https://rubygems.org\'

# Bundle edge Rails inste         


        
9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-03 06:08

    Add; gem 'bcrypt-ruby', '~> 3.1.1' to your gemfile

    Or if you specifically want 3.0.0, follow Maximus's advice and add: gem 'bcrypt-ruby', '3.0.0'

    Then bundle update bcrypt-ruby.

    You might also want to try deleting your gemfile.lock and re-running bundle install.

提交回复
热议问题