I upgraded my environment from Ruby 2.0.0 to 2.2.3.
I also upgraded (overwrite) DevKit, and re-run ruby dk.rb install.
I removed Gemfile.lock and ran bundle
This works for me, add this to your gems file:
gem 'bcrypt', '~> 3.1.7', platform: :ruby
What worked for me on Windows 7:
gem uninstall bcrypt
to uninstall all versions of bcrypt, including those listed as dependencies gem install bcrypt
to reinstallbundle install
Solution was here: bcrypt-ruby@github:
Rebuild locally the bcrypt gem:
Note that this works only if your DevKit environment is correctly setup (run devkitvars.bat).