Comments (12)
Hi there (i hope this is the correct place to post this),
I just ran a gem install and this is what i get:
gem install bcrypt-ruby Successfully installed bcrypt-ruby-3.1.1-x86-mingw32 Parsing documentation for bcrypt-ruby-3.1.1-x86-mingw32 unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/bcrypt_ext.so, skippin g 1 gem installed.
Can you advise as to steps that i can take to resolve this issue?
Im on windows 7, 32bit machine
from bcrypt-ruby.
@mulaiko What version of Ruby? ruby -v
On Friday, August 2, 2013, mulaiko wrote:
Hi there (i hope this is the correct place to post this),
I just ran a gem install and this is what i get:
gem install bcrypt-ruby Successfully installed
bcrypt-ruby-3.1.1-x86-mingw32 Parsing documentation for
bcrypt-ruby-3.1.1-x86-mingw32 unable to convert "\x90" from ASCII-8BIT to
UTF-8 for lib/bcrypt_ext.so, skippin g 1 gem installed.Can you advise as to steps that i can take to resolve this issue?
Im on windows 7, 32bit machine—
Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-22000335
.
from bcrypt-ruby.
@tjschuck ruby 2.0.0p247
from bcrypt-ruby.
@mulaiko I just pushed an RC version of the gem that should hopefully fix your issue. Can you please try to install version 3.1.2.rc1 and let me know if it succeeds or not? If it works, I will bump to 3.1.2 officially.
In your Gemfile, gem "bcrypt-ruby", "3.1.2.rc1"
, or standalone, just gem install bcrypt-ruby -v 3.1.2.rc1
.
Thank you for your help!
from bcrypt-ruby.
I had the same problem, and it worked once I manually installed the 3.1.2.rc1 version and then replaced bcrypt_ext.so in {RUBY_DIR}\lib\ruby\gems\2.0.0\gems\bcrypt-ruby-3.1.1-x86-mingw32\lib with the one in the 3.1.2.rc1 installation folder.
I thinks it is therefore safe to move to 3.1.2, @tjschuck
Thanks :)
from bcrypt-ruby.
@mulaiko @cipacda Thanks for your help -- version 3.1.2 final is now up on RubyGems.
from bcrypt-ruby.
@tjschuck: I added gem install bcrypt-ruby -v 3.1.2.rc1 to my gem file, then ran a bundle update and started rails server. however I'm still getting this error
can't activate bcrypt-ruby (~> 3.0.0), already activated bcrypt-ruby-3.1.2.rc1-x86-mingw32. Make sure all dependencies are added to Gemfile
I'm on Windows 8, with Rails 4.0.0 Ruby 2.0.0.
Thanks!
from bcrypt-ruby.
@dreamerzfly Try uninstalling the gem first (gem uninstall bcrypt-ruby
, and uninstall all versions).
Then, in your Gemfile, add the line gem 'bcrypt-ruby', '~> 3.1.2'
, making sure you don't have any other line also loading bcrypt -- if you do, remove those lines. Then bundle install
, and you should be good to go.
from bcrypt-ruby.
I have the exact same setup as @dreamerzfly and I am getting the same error
Gem::LoadError:
can't activate bcrypt-ruby (~> 3.0.0), already activated bcrypt-ruby-3.1.2-x86-mingw32. Make sure all dependencies are added to Gemfile.
The above fix does nothing to help :/
Please help ... I have tried everything :/
from bcrypt-ruby.
from bcrypt-ruby.
Shot man. Seems to have sorted out my issue after testing :)
from bcrypt-ruby.
I was trying to install "bcrypt-ruby" on Windows 8, 64 bit .
Tried a lot of configurations, ranging from different versions of the gem, direct from git, platform ruby etc.
But nothing worked
At the end installed DEVKIT compatible to my ruby version and thats it.
Steps
Install Devkit compatible to your ruby version
Link : http://rubyinstaller.org/downloads/
Download under
C:/Ruby Folder/devkit
Then on command line go to above path
C:/Ruby Folder/devkit
then say
gem install bcrypt-ruby
This should install it,
Post this, you need to add the gem to your Gemfile and say
bundle install
bundle update
bundle install
This should work fine. Also solves update issues related to active_record etc.
The same should work for WIN 64, WIN 32 also.
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.