You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\Administrator>ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]
C:\Users\Administrator>gem list bcrypt
*** LOCAL GEMS ***
bcrypt (3.1.11 x64-mingw32)
C:\Users\Administrator>gem uninstall bcrypt
Successfully uninstalled bcrypt-3.1.11-x64-mingw32
C:\Users\Administrator>gem list bcrypt
*** LOCAL GEMS ***
C:\Users\Administrator>gem install bcrypt --platform=ruby
Fetching: bcrypt-3.1.11.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed bcrypt-3.1.11
Parsing documentation for bcrypt-3.1.11
Installing ri documentation for bcrypt-3.1.11
Done installing documentation for bcrypt after 1 seconds
1 gem installed
C:\Users\Administrator>gem list bcrypt
*** LOCAL GEMS ***
bcrypt (3.1.11)
🍻
Reacted by Brad Chellingworth, Sorelys Sandoval, Cyril Duchon-Doris, Sean Hulse, Mansoor Khan, sahydo, demhareesan, Diamorotic, Moriort, Luis Guzmán and 16 more
Reacted by Sanjeev yadav
Reacted by T.J. Schuck, Antonio Ossa-Guerra, Sorelys Sandoval, sahydo, demhareesan, M Safdar, nabucodonosor7, Aléx, Zubayer Rahman Sayem, ge022 and 1 more
Dear @vais
Thank you
this worked for ruby 2.3 32bit version on x64 win 7 if that make any sense
i had to delete any other bcrypt folder(s) in this path;
C:\Ruby23\lib\ruby\gems\2.3.0\gems
thanks again
This there a perm fix for this inside the Gemfile? I hate having to install new gems with bundle install then uninstall bcrypt manually then manually reinstall it with the platform=ruby.
Reacted by Falk Pauser, Lukasz Streszewski and jmaggis
Activity
Startouf commentedon Apr 15, 2016
So basically the same problem as in #128 ?
scivola commentedon Apr 16, 2016
Yes, it is essentially same.
Startouf commentedon Jun 6, 2016
What should be done to generate a version for Ruby 2.3 (if it is possible). This is the only step that prevents me from migrating to Ruby 2.3.
vais commentedon Jul 12, 2016
@Startouf the following worked for me (with DevKit):
🍻
larskanis commentedon Jul 28, 2016
#117 fixes this issue. Alternatively use the workaround with
gem inst --platform=ruby.caleuanhopkins commentedon Sep 14, 2016
Funnily enough, the solution (or work around, whatever you want to call it) seems to fix this issue also: #128 (comment)
sorelyss commentedon Sep 23, 2016
It works!!! thanks 👍
amreos commentedon Oct 5, 2016
Dear @vais
Thank you
this worked for ruby 2.3 32bit version on x64 win 7 if that make any sense
i had to delete any other bcrypt folder(s) in this path;
C:\Ruby23\lib\ruby\gems\2.3.0\gems
thanks again
jostster commentedon Nov 4, 2016
This there a perm fix for this inside the Gemfile? I hate having to install new gems with
bundle installthen uninstall bcrypt manually then manually reinstall it with the platform=ruby.karensg commentedon Dec 23, 2016
This would be really great!
enneid commentedon Mar 10, 2017
Is it this problem will be perm fixed in any time? or we have to wait for ruby 2.4?
bchellingworth commentedon Apr 22, 2017
Is this issue ever going to get a perm fix, the workaround is painful everytime.
sdik commentedon May 2, 2017
gem install bcrypt --platform=ruby
resolveu..
mSafdarAli commentedon Jul 12, 2017
@vais thank you so much. it solved my problem. 👍
johnnyshields commentedon Jan 18, 2018
This is a dupe of #149 and can be closed (we only need one ticket for it)
Use AppVeyor for testing Windows gem installs
tjschuck commentedon May 15, 2018
I have just pushed version 3.1.12.rc1 to RubyGems.org which should solve this problem.
Can someone please confirm that
gem install bcrypt --prereleasenow works on Windows? If so, I'll push out the final version.tjschuck commentedon May 16, 2018
Version 3.1.12 of the bcrypt gem, which should fix this issue, was just pushed to RubyGems.
You should now be able to
gem install bcrypton Windows with none of the above workarounds.Thanks, everyone!