FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

cannot load such file -- bcrypt_ext · Issue #141 · bcrypt-ruby/bcrypt-ruby · GitHub

Repository navigation

cannot load such file -- bcrypt_ext #141

Description

$ gem install bcrypt-ruby -v '3.0.0'
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing bcrypt-ruby:
              ERROR: Failed to build gem native extension.

    current directory: D:/Programming/Apps/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bcrypt-ruby-3.0.0/ext/mri
D:/Programming/Apps/Ruby23-x64/bin/ruby.exe -r ./siteconf20161002-12508-uikb1r.rb extconf.rb
creating Makefile

current directory: D:/Programming/Apps/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bcrypt-ruby-3.0.0/ext/mri
make "DESTDIR=" clean

current directory: D:/Programming/Apps/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bcrypt-ruby-3.0.0/ext/mri
make "DESTDIR="
Makefile:261: recipe for target 'bcrypt_ext-x64-mingw32.def' failed
process_begin: CreateProcess(NULL, echo generating bcrypt_ext-x64-mingw32.def, ...) failed.
make (e=2): The system cannot find the file specified.

make: *** [bcrypt_ext-x64-mingw32.def] Error 2

make failed, exit code 2

Gem files will remain installed in D:/Programming/Apps/Ruby23-x64/lib/ruby/gems/2.3.0/gems/bcrypt-ruby-3.0.0 for inspection.
Results logged to D:/Programming/Apps/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/bcrypt-ruby-3.0.0/gem_make.out

I can't seem to install an earlier version of bcrypt-ruby.

Any idea why?

Activity

  1. tjschuck commented on Oct 4, 2016

    Collaborator

    You're on Windows and using Ruby 2.3.0 — bcrypt-ruby 3.0.0 does not include pre-compiled binaries for Windows + Ruby 2.3.0, hence the error messages you're getting.

    If (and only if) you have the DevKit installed, you should be able to do this by adding --platform=ruby to your command. So:

    gem install bcrypt-ruby -v '3.0.0' --platform=ruby
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL