bcrypt loading error in windows 10

前端 未结 4 1447
不思量自难忘°
不思量自难忘° 2021-01-16 12:39

now I am trying to install bcrypt in windows 10, but I got an loading error whenever running webrick server as the following.

C:/Ruby22-x64/lib/ruby/gems/2.2         


        
4条回答
  •  感情败类
    2021-01-16 13:00

    Try fix Gemfile

    gem 'bcrypt', '~> 3.1.10', require: false
    if Bundler::WINDOWS
      gem 'bcrypt-ruby', '~> 3.0.0', require: false
    else
      gem 'bcrypt', '~> 3.1.10', require: false
    end
    

提交回复
热议问题