Cannot Load Such File -- 1.9/Bcrypt_Ext (Loaderror)

cannot load such file -- 1.9/bcrypt_ext (LoadError)

This morning, I'm facing the same issue too (Windows 7).
Let me recommend to have a look here
https://github.com/codahale/bcrypt-ruby/issues/72

I successfully fix my problem like this (updating my Gemfile):

gem 'bcrypt-ruby', '3.1.1.rc1', :require => 'bcrypt'

LoadError: cannot load such file — bcrypt_ext

try

C:\> gem install --no-ri --no-rdoc bcrypt
C:\> cd (path to gems root)\bcrypt-3.1.7-x86-mingw32\ext\mri
C:\(path to gems root)\bcrypt-3.1.7-x86-mingw32\ext\mri> ruby extconf.rb
C:\(path to gems root)\bcrypt-3.1.7-x86-mingw32\ext\mri> make
C:\(path to gems root)\bcrypt-3.1.7-x86-mingw32\ext\mri> make install

reference: https://www.alib.jp/entries/bcrypt_ext_load_error_on_ruby21x

LoadError: cannot load such file -- bcrypt_ext on Windows 2008 x64 server

Solution was here: bcrypt-ruby@github:

Rebuild locally the bcrypt gem:

  1. Change to the gem directory \Ruby22-x64\lib\ruby\gems\2.2.0\gems\bcrypt-3.1.10-x64-mingw32\ext\mri>
  2. Run ruby extconf.rb
  3. Run make
  4. Run make install

Note that this works only if your DevKit environment is correctly setup (run devkitvars.bat).

RubyInstaller 2.2.1 and Rails - Rake cannot load Nokogiri

Nokogiri doesn't exist yet for Ruby 2.2 on windows.

https://github.com/sparklemotion/nokogiri/issues/1256

Essentially, nokogiri is provided preocompiled for specific ruby versions, and 2.2 isn't one of those versions yet. compiling nokogiri for windows is overly complicated.



Related Topics



Leave a reply



Submit