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
current directory: /home/dev/.rvm/gems/ruby-2.5.1/gems/bcrypt-3.1.13/ext/mri
make "DESTDIR=" clean
current directory: /home/dev/.rvm/gems/ruby-2.5.1/gems/bcrypt-3.1.13/ext/mri
make "DESTDIR="
linking shared-object bcrypt_ext.so
gcc: error: bcrypt_ext.o: No such file or directory
gcc: error: crypt_blowfish.o: No such file or directory
gcc: error: x86.o: No such file or directory
gcc: error: crypt_gensalt.o: No such file or directory
gcc: error: wrapper.o: No such file or directory
Makefile:257: recipe for target 'bcrypt_ext.so' failed
make: *** [bcrypt_ext.so] Error 1
Checked the gem files that remain after a failed install, couldn't find any reference to bcrypt_ext.so . Also checked the previous issue with x86.o referencing the '@progbits'. changed it to '%progbits'. re-ran the gem install but still no luck.
In the end I installed 3.1.12 and referenced it BEFORE the gem devise the Rails Gemfile and it ran the bundle install with no issues.
I guess this fixes it, but would be good to install the latest version.
The text was updated successfully, but these errors were encountered:
Found an issue when installing Bcrypt 3.1.13 on ruby 2.5.1 (or 2.5.3). This was to enable the Devise gem for authentication.
Hardware Rpi 3B+
Docker container Ubuntu 18.04 LTS
Rails 6.0.2.2
running Gem install bcrypt -v '3.1.13' I get :
current directory: /home/dev/.rvm/gems/ruby-2.5.1/gems/bcrypt-3.1.13/ext/mri
make "DESTDIR=" clean
current directory: /home/dev/.rvm/gems/ruby-2.5.1/gems/bcrypt-3.1.13/ext/mri
make "DESTDIR="
linking shared-object bcrypt_ext.so
gcc: error: bcrypt_ext.o: No such file or directory
gcc: error: crypt_blowfish.o: No such file or directory
gcc: error: x86.o: No such file or directory
gcc: error: crypt_gensalt.o: No such file or directory
gcc: error: wrapper.o: No such file or directory
Makefile:257: recipe for target 'bcrypt_ext.so' failed
make: *** [bcrypt_ext.so] Error 1
Checked the gem files that remain after a failed install, couldn't find any reference to bcrypt_ext.so . Also checked the previous issue with x86.o referencing the '@progbits'. changed it to '%progbits'. re-ran the gem install but still no luck.
In the end I installed 3.1.12 and referenced it BEFORE the gem devise the Rails Gemfile and it ran the bundle install with no issues.
I guess this fixes it, but would be good to install the latest version.
The text was updated successfully, but these errors were encountered: