Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unsafe loading of Libcrypto preventing Rails console+server development #67

Closed
PositiveControl opened this issue Nov 28, 2021 · 1 comment

Comments

@PositiveControl
Copy link

% rails s
WARNING: /Users/pc/.rvm/rubies/ruby-3.0.0/bin/ruby is loading libcrypto in an unsafe way
zsh: abort      rails s

Apparently MacOS (or the M1 specifically), Rails or even Ruby doesn't like the way libcrypto is loaded and prevents consoles or servers from starting when the gem is included.

% rails -v
Rails 6.1.4.1
% ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin21]

# eth version
eth (0.4.16)

I've tested this assumption by bundling without eth and do not encounter the libcrypto errors.

Cheers.

@q9f
Copy link
Collaborator

q9f commented Nov 29, 2021

Thanks for reporting. I'll probably have a fix by end of week.

The eth gem is fixed in #66 but libcrypto specifically fails on the money-tree dependency, see GemHQ/money-tree#43

Closing as duplicate of #47 which tracks all ssl/crypto issues on macos.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants