bcrypt loading error in windows 10

前端 未结 4 1489
不思量自难忘°
不思量自难忘° 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 12:54

    In your gem file add:

    gem 'bcrypt', git: 'https://github.com/codahale/bcrypt-ruby.git', :require => 'bcrypt'
    

    This worked for me on Windows 10 64 Bit.

提交回复
热议问题