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

后端 未结 9 2066
不知归路
不知归路 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 05:59

    Remove Gemfile.lock and specify the gem 'bcrypt-ruby', '3.0.0'. Run bundle install. Actually, in local gem file bcrypt-ruby should be uninstalled.

提交回复
热议问题