Comments (5)
gem install bcrypt-ruby --platform=ruby
This probably installed the gem without the extension.. try gem uninstall bcrypt-ruby
first?
from bcrypt-ruby.
I've given that a shot, it doesn't appear to help.
from bcrypt-ruby.
@roberts1000 Can you confirm whether or not this is still an issue? Does the following in your Gemfile work?
gem 'bcrypt', '~> 3.1.7'
For the sake of issue management, I'm going to close this until more info is provided. I'll reopen once you respond.
from bcrypt-ruby.
@tjschuck 3.1.2 actually started working for me. If you guys didn't work some magic, I believe it had something to do with bundler. I was using an older version of bundler that could not manage gems on 64bit windows (see rubygems/bundler#2658 for more info). I upgraded bundler to fix an issue in another gem and when I tried bcrypt again a couple weeks later it was working as well. I can confirm that 3.1.7 too.
from bcrypt-ruby.
Awesome, thanks @roberts1000. 64bit Win support was added in 3.1.2 initially, so I'm glad to hear it was in fact working.
Thanks for posting the upgrade-bundler solution -- hopefully that will help anyone else that finds the issue in the future ❤️
from bcrypt-ruby.
Related Issues (20)
- bcrypt 3.1.15 failing on FreeBSD 12 HOT 7
- some calibration tests of the engine fail on s390x architecture
- Cannot install on Windows: ld.exe: cannot find -lgmp HOT 1
- I can't use bcrypt on Apple M1 Chip HOT 4
- failure for test "Generating BCrypt hashes should be interoperable with other implementations"
- Maintenance of bcrypt-ruby (creation of ruby-crypto org?) HOT 16
- Master branch failing due to cost factor
- Issue with devise and bcrypt on a macbook m1 rails install HOT 2
- Rails 6.1.3.1 - BCrypt::Errors::InvalidHash Exception: invalid hash HOT 2
- Fails to install on Ruby 3.0.2 HOT 1
- Cannot install bcrypt on Windows 10 HOT 4
- mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' M1 macbook issue. HOT 1
- New release? HOT 3
- tag 3.1.18? HOT 1
- Unexpected implementation of == method in Password class
- Encryption level HOT 1
- Bcrypt 3.1.18 not working on Ubuntu 22.04.02 LTS HOT 2
- please tag 3.1.20 HOT 1
- Password presence validation bizarre behaviour HOT 1
- Make C-extension Ractor-safe HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcrypt-ruby.