Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

555
Vistas
Ruby on rails warning "ruby is loading libcrypto in an unsafe way"

When i run rails commands on the terminal like creating a model, this is the error I get:

WARNING: /Users/my_mac_username/.rvm/rubies/ruby-2.5.3/bin/ruby is loading libcrypto in an unsafe way

[1] 5396 abort bin/rails g model ModelName attribute_1:string attribute_2:integer

My mac is running big sur,

over 4 years ago · Santiago Trujillo
3 Respuestas
Responde la pregunta

0

I ended up solving the same issue using information from this thread: https://giters.com/se3000/ruby-eth/issues/47

The solution which worked out of the box for me, on an M1 Mac, was to use the following:

sudo ln -s $(brew --prefix openssl)/lib/libcrypto.dylib /usr/local/lib/
sudo ln -s $(brew --prefix openssl)/lib/libssl.dylib  /usr/local/lib

This is definitely a dylib issue, as @tbraden pointed out.

over 4 years ago · Santiago Trujillo Denunciar

0

This is just a warning not a fatal error. On mac you can open the Console program (spotlight search Console) and look for the ruby crash log.

For me it is error on invalid dylib load, which can be solved by creating the symlink following this thread https://developer.apple.com/forums/thread/119429.

over 4 years ago · Santiago Trujillo Denunciar

0

this one will work if you have latest version of libssl

However if you have 1.1 version, you need to run the following

sudo ln -s $(brew --prefix openssl@1.1)/lib/libcrypto.dylib /usr/local/lib/
sudo ln -s $(brew --prefix openssl@1.1)/lib/libssl.dylib  /usr/local/lib

Also before running any command you can verify to which version it points on current moment

ls -la /usr/local/lib/libcrypto.dylib
lrwxr-xr-x  1 root  admin  46 Mar  3 14:27 /usr/local/lib/libcrypto.dylib -> /usr/local/opt/openssl@1.1/lib/libcrypto.dylib

ls -la /usr/local/lib/libssl.dylib
lrwxr-xr-x  1 root  admin  43 Mar  3 14:27 /usr/local/lib/libssl.dylib -> /usr/local/opt/openssl@1.1/lib/libssl.dylib
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda