r/rails•
byviolet

strange error when working through the hartl book

I'm on chapter 6 right now, and I'm trying to add the bcrypt gem.

gem 'bcrypt', '3.1.7'

when I do bundle install, I get this error:

rake aborted!
LoadError: cannot load such file -- bcrypt_ext
C:/Sites/sample_app/config/application.rb:7:in
`<top (required)>'
C:/Sites/sample_app/Rakefile:4:in `require'
C:/Sites/sample_app/Rakefile:4:in   `<top
(required)>'
LoadError: cannot load such file -- 2.2/bcrypt_ext
C:/Sites/sample_app/config/application.rb:7:in`<top 
(required)>'
C:/Sites/sample_app/Rakefile:4:in `require'
C:/Sites/sample_app/Rakefile:4:in `<top
(required)>'
(See full trace by running task with --trace)

Anyone know what's going on? I'm super new to rails so I haven't got a clue.

EDIT: this solved it for me, http://stackoverflow.com/questions/33588735/loaderror-cannot-load-such-file-bcrypt-ext-on-windows-2008-x64-server

Posted May 20, 2016, 4:20 AM UTC · edited

14
Loading comments…