美文网首页
Mac gem install 报错

Mac gem install 报错

作者: KeyboardDirver | 来源:发表于2022-04-18 20:57 被阅读0次

1、

ERROR:
While executing gem (NoMethodError)
undefined method 'request' for nil: Nilclass
[@failed _dep.dependency,@activated.request.dependency]
                                     ^^^^^

2

ERROR: While executing gem(NoMethodError)
undefined method 'request' for nil: Nilclass

我升级了ruby的版本出现两种报错 原因都指向request。找不到request。与同事对比后发现他们的都是2.6 和 2.7版本。我是3.0.0版本3.1版本。降级到2.7版本后 gem install成功。

相关文章

网友评论

      本文标题:Mac gem install 报错

      本文链接:https://www.haomeiwen.com/subject/wdqjertx.html