# 升级到 3.0.2：NameError：未定义方法 \`call' 用于类 \`Redis::Client'（附带“修复”）

**URL:** https://meta.discourse.org/t/upgrade-to-3-0-2-nameerror-undefined-method-call-for-class-redis-client-with-a-fix/258602
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [2023 年3 月 18 日 17:07 UTC](https://meta.discourse.org/t/upgrade-to-3-0-2-nameerror-undefined-method-call-for-class-redis-client-with-a-fix/258602 "2023-03-18T17:07:33Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### 作者： ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### 发布日期： [2023 年3 月 20 日 19:18 UTC](https://meta.discourse.org/t/upgrade-to-3-0-2-nameerror-undefined-method-call-for-class-redis-client-with-a-fix/258602/5 "2023-03-20T19:18:29Z")

</div>

> [@steinhh](#):
>
> `2.7.0`

Ruby 2.7 已到达生命周期终点，我们不再支持。按照标准的安装指南安装 Discourse 时，一段时间以来都不会安装该版本，因此我假设这是一个自定义安装？

> [@steinhh](#):
>
> 我以前从未听说过 Gemfile 或 Gemfile.lock

我建议即使是熟悉 Discourse 技术栈的人也应坚持使用官方支持的安装指南，对于不熟悉所用技术的人来说，这一点更为重要。

---

_[View the full topic](https://meta.discourse.org/t/upgrade-to-3-0-2-nameerror-undefined-method-call-for-class-redis-client-with-a-fix/258602)._
