# 「rake aborted!」コマンド「sudo bundle exec rake db:create」(macOS M1)で

**URL:** <https://meta.discourse.org/t/rake-aborted-on-sudo-bundle-exec-rake-db-create-cmd-macos-m1/238475>\
**Category:** Self-hosting\
**Created:** [2022 年 9 月 8 日午後 3:10 UTC](https://meta.discourse.org/t/rake-aborted-on-sudo-bundle-exec-rake-db-create-cmd-macos-m1/238475 "2022-09-08T15:10:02Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![steinhh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steinhh/32/242776_2.png) [@steinhh](https://meta.discourse.org/u/steinhh)\
**Post date:** [2023 年 3 月 18 日午後 4:59 UTC](https://meta.discourse.org/t/rake-aborted-on-sudo-bundle-exec-rake-db-create-cmd-macos-m1/238475/10 "2023-03-18T16:59:03Z")

</div>

更新：redisを4.8.0に固定することで問題が解決しました（以下のGemfileの差分を参照）。Gemfileにバージョン番号が指定されていなかったため、3.0.1をクリーンインストールすると同じ問題が発生するのではないかと推測しています。

```plaintext
-gem "redis"
+gem "redis", "4.8.0"

```

---

_[View the full topic](https://meta.discourse.org/t/rake-aborted-on-sudo-bundle-exec-rake-db-create-cmd-macos-m1/238475)._
