我有 Rails 应用程序,它使用 sidekiq 进行后台作业。最近将 ruby 从 2.7.0 升级到 3.1.2,并且 redis gem 自动更新到“5.0.5”。在 sidekiq(6.4.1) 日志抛出以下错误后,如果我在 gemlock 中恢复到旧的 redis 版本 (4.6.0),则不会出现错误。知道这是什么原因吗?
我正在尝试使用 rvm 在 mac(12.2.1) 上安装 ruby 2.7.0 版本,但出现以下错误,并尝试了 github 上所有可能的解决方案,似乎没有任何效果。甚至尝试使用 rbenv 但同样的错误。请帮忙,先谢谢你了。
rashmi.b@xxxx Documents % rvm install 2.7.0
ruby-2.7.0 - #removing src/ruby-2.7.0 - please wait
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/12.2/x86_64/ruby-2.7.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/rashmi.b/.rvm/rubies/ruby-2.7.0, this may take a …Run Code Online (Sandbox Code Playgroud)