我在 macOS Sonoma、x86 intel i7 上有一个 Ruby on Rails API 应用程序。
我可以使用
rails s
启动服务器。当我到达端点时,它会记录以下内容:
Started POST "/v1/login" for ::1 at 2023-12-13 19:38:46 +0700
ruby(5405,0x70000e8b9000) malloc: double free for ptr 0x7f7c33808200
ruby(5405,0x70000e8b9000) malloc: *** set a breakpoint in malloc_error_break to debug
zsh: abort rails server
我已经再次表演了
bundle update
,bundle clean
,bundle install
。我也重新启动了我的笔记本电脑,但它仍然出现。
如何解决这个错误?
brew 取消链接 openssl@3 卷曲 -L https://raw.githubusercontent.com/Homebrew/homebrew-core/e68186ba5a05a6ea9a30d6c7744de9a46bd3aadd/Formula/o/[电子邮件受保护] > [电子邮件受保护] && brew install [电子邮件受保护] 完成!!!