# Redis version error when I run bundle exec db:create

**URL:** https://meta.discourse.org/t/redis-version-error-when-i-run-bundle-exec-db-create/224896
**Category:** Self-hosting
**Created:** [April 21, 2022, 2:26am UTC](https://meta.discourse.org/t/redis-version-error-when-i-run-bundle-exec-db-create/224896 "2022-04-21T02:26:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zeshan\_Raja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zeshan_raja/32/253104_2.png) [@Zeshan\_Raja](https://meta.discourse.org/u/Zeshan_Raja)
#### Post date: [April 21, 2022, 2:26am UTC](https://meta.discourse.org/t/redis-version-error-when-i-run-bundle-exec-db-create/224896/1 "2022-04-21T02:26:25Z")

</div>

Hi!  
I trying to following the directions seen here:

> [@Install Discourse on macOS for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-macos-for-development/15772):
>
> warning This guide covers installation instructions for a macOS development environment, for production guides see: [Install Discourse in production with the official supported instructions](https://meta.discourse.org/t/how-to-install-discourse-in-production/142537) So you want to set up Discourse on macOS to hack on and develop with? We’ll assume that you don’t have Ruby/Rails/Postgres/Redis installed on your Mac. Let’s begin rocket ! Install Discourse Dependencies You will need the following packages on your system: [Git](http://git-scm.com/)[rbenv](https://github.com/sstephenson/rbenv) or [asdf](https://asdf-vm.com/guide/getting-started.html)[ruby-build](https://github.com/sstephenson/ruby-build)[Ruby](https://www.ruby-lang.org/) (latest s…

However, when I try to run `bundle exec rake db:create`, I get the following error:  
`nil versions are discouraged and will be deprecated in Rubygems 4 Discourse requires Redis 6.2.0 or up`  
When I run my Redis server, it says the version is 6.2.6. I’ve tried downloading each dependency line by line in the link to the script from the link above, but I’ve had no luck. I have also tried to uninstall and reinstall Redis to the most recent version but still has that same error.
