我发布此内容是为了防止其他人遇到同样的问题。我试图从苹果 m1 笔记本电脑部署我的 ruby 项目,并得到libc++abi: terminating with uncaught exception of type std::runtime_error: Encryption not available on this event-machine
.
检查事件机器给出
ruby -reventmachine -ve "puts EM.library_type, EM.ssl?"
ruby 2.6.7p197 (2021-04-05 revision 67941) [arm64-darwin20]
extension
false
Run Code Online (Sandbox Code Playgroud)
尝试在 eventmachine 上卸载并安装,但无济于事。