# Install Discourse on macOS for development

**URL:** https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772
**Category:** Developer Guides
**Tags:** dev-install, how-to
**Created:** [19 mei 2014 om 16:59 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772 "2014-05-19T16:59:50Z")
**Posts on this page:** 20
**Page:** 3

<div class="post-metadata">

### Author: ![FlyingCat](https://avatars.discourse-cdn.com/v4/letter/f/f6c823/32.png) [@FlyingCat](https://meta.discourse.org/u/FlyingCat)
#### Post date: [14 mei 2022 om 07:28 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/336 "2022-05-14T07:28:45Z")

</div>

Hi,I am installing on m1 Monterey and need some help.

After bundle install is completed, when doing db create, I have the following error saying `symbol not found in flat namespace '___aarch64_ldadd4_acq_rel'`:

```plaintext
bundle exec rake db:create
rake aborted!
LoadError: dlopen(/Users/$USERID/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/rbtrace-0.4.14/lib/rbtrace.bundle, 0x0009): symbol not found in flat namespace '___aarch64_ldadd4_acq_rel' - /Users/$USERID/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/rbtrace-0.4.14/lib/rbtrace.bundle
/Users/$USERID/discourse/config/environments/development.rb:80:in `block in <main>'
/Users/$USERID/discourse/config/environments/development.rb:3:in `<main>'
/Users/$USERID/discourse/config/environment.rb:7:in `<main>'
/Users/$USERID/.rbenv/versions/2.7.3/bin/bundle:25:in `load'
/Users/$USERID/.rbenv/versions/2.7.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:create => db:load_config => environment
(See full trace by running task with --trace)

```

Thanks!

---

<div class="post-metadata">

### Author: ![pipkin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pipkin/32/134643_2.png) [@pipkin](https://meta.discourse.org/u/pipkin)
#### Post date: [22 mei 2022 om 10:53 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/337 "2022-05-22T10:53:03Z")

</div>

When executing this:

> [@techAPJ](#):
>
> `bundle exec rake db:create`

I got this error:

> MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error. ( Redis::CommandError )

Fix this by restarting Redis:

`brew services restart redis`

and you’ll be fine.

---

<div class="post-metadata">

### Author: ![Yu\_Gold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yu_gold/32/256677_2.png) [@Yu\_Gold](https://meta.discourse.org/u/Yu_Gold)
#### Post date: [23 mei 2022 om 00:07 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/338 "2022-05-23T00:07:57Z")

</div>

look good! :slight_smile: thank you very much

---

<div class="post-metadata">

### Author: ![setoelkahfi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/setoelkahfi/32/247956_2.png) [@setoelkahfi](https://meta.discourse.org/u/setoelkahfi)
#### Post date: [27 mei 2022 om 10:20 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/339 "2022-05-27T10:20:27Z")

</div>

My database creation failed:

```plaintext
connection to server on socket "/tmp/.s.PGSQL.5432" failed: fe_sendauth: no password supplied
Couldn't create 'discourse_development' database. Please check your configuration.

```

Do I need to provide the user and password for my PostGresql db?

---

<div class="post-metadata">

### Author: ![Davide\_Pollicino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davide_pollicino/32/262225_2.png) [@Davide\_Pollicino](https://meta.discourse.org/u/Davide_Pollicino)
#### Post date: [1 juni 2022 om 08:05 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/340 "2022-06-01T08:05:20Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/1/4/6/1464eac7105514f9eba0b43660ebd0ac43bcb561.png)

---

<div class="post-metadata">

### Author: ![sansnumero](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@sansnumero](https://meta.discourse.org/u/sansnumero)
#### Post date: [3 juni 2022 om 01:46 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/341 "2022-06-03T01:46:28Z")

</div>

it’s been a while so you probably got it working, but for anyone that has the same problem you have to have imagemagick and can use `brew install imagemagick` like described [here](https://github.com/discourse/discourse/blob/main/docs/DEVELOPMENT-OSX-NATIVE.md#imagemagick)

---

<div class="post-metadata">

### Author: ![rudzainy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rudzainy/32/226573_2.png) [@rudzainy](https://meta.discourse.org/u/rudzainy)
#### Post date: [7 juni 2022 om 00:46 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/342 "2022-06-07T00:46:41Z")

</div>

A suggestion:

> [@schwa](#):
>
> also had to `brew install node` for ember-cli. Now it’s working!

I think there’s value adding this bit in the original guide, since it is a major dependency :thinking:

I was setting up Discourse on a fresh install of Big Sur. When I run `bin/ember-cli`, I realised that I haven’t installed `node` yet. From experience, I could figure out what to do. However I imagined a much younger me would not be able to figure it out immediately, and could be a source of unnecessary frustration(s) :pensive:

Something like this?:

**Starting with Discourse 2.5+ EmberCLI is required in development and these additional steps will be required:**

Open a separate terminal instance.

If you don’t have [node](https://nodejs.org/en/about/), install it is by running:

```plaintext
brew install node

```

Navigate to your discourse folder (`cd ~/discourse`) and run:

```plaintext
bin/ember-cli

```

You should now be able to navigate to [http://localhost:4200](http://localhost:4200) to see your local Discourse installation.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [21 juli 2022 om 12:21 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/343 "2022-07-21T12:21:16Z")

</div>

2 posts were merged into an existing topic: [Beginners Guide to Install Discourse on Ubuntu for Development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727/539)

---

<div class="post-metadata">

### Author: ![ddelrio1986](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ddelrio1986/32/206148_2.png) [@ddelrio1986](https://meta.discourse.org/u/ddelrio1986)
#### Post date: [26 juli 2022 om 18:21 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/344 "2022-07-26T18:21:46Z")

</div>

When I first followed these directions and ran `bundle exec rake db:migrate` I received the following error:

```plaintext
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /Users/daniel/workspace/discourse/app/assets/javascripts/node_modules/xss/dist/xss.min.js
/Users/daniel/workspace/discourse/lib/pretty_text.rb:612:in `block in ctx_load'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:611:in `each'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:611:in `ctx_load'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:108:in `create_es6_context'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:152:in `block in v8'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:150:in `synchronize'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:150:in `v8'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:304:in `block in escape_emoji'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:605:in `block in protect'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:604:in `synchronize'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:604:in `protect'
/Users/daniel/workspace/discourse/lib/pretty_text.rb:303:in `escape_emoji'
/Users/daniel/workspace/discourse/app/models/emoji.rb:222:in `unicode_unescape'
/Users/daniel/workspace/discourse/app/models/topic.rb:458:in `fancy_title'
/Users/daniel/workspace/discourse/app/models/topic.rb:347:in `block in <class:Topic>'
/Users/daniel/workspace/discourse/app/models/category.rb:300:in `block in create_category_definition'
/Users/daniel/workspace/discourse/app/models/category.rb:295:in `create_category_definition'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:114:in `create_category'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `block (2 levels) in create'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `each'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:15:in `block in create'
/Users/daniel/workspace/discourse/lib/seed_data/categories.rb:14:in `create'
(eval):6:in `block (2 levels) in run_file'
/Users/daniel/workspace/discourse/lib/tasks/db.rake:152:in `block (2 levels) in <main>'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:57:in `block in synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:53:in `synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:53:in `synchronize'
/Users/daniel/workspace/discourse/lib/distributed_mutex.rb:38:in `synchronize'
/Users/daniel/workspace/discourse/lib/tasks/db.rake:132:in `block in <main>'
/Users/daniel/.rbenv/versions/2.7.3/bin/bundle:25:in `load'
/Users/daniel/.rbenv/versions/2.7.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

```

To resolve this issue I did have to run `yarn install` before the command.

---

<div class="post-metadata">

### Author: ![astro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astro/32/270774_2.png) [@astro](https://meta.discourse.org/u/astro)
#### Post date: [15 augustus 2022 om 20:27 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/345 "2022-08-15T20:27:41Z")

</div>

help  
Your bundle is locked to webmock (3.16.0) from rubygems repository [https://rubygems.org/](https://rubygems.org/) or installed locally, but that  
version can no longer be found in that source. That means the author of webmock (3.16.0) has removed it. You’ll need to  
update your bundle to a version other than webmock (3.16.0) that hasn’t been removed in order to install.

edit: (seems to big a bigger problem here, my bundler says the ruby version is too old and then i update my ruby and it still says it’s old)

---

<div class="post-metadata">

### Author: ![codechef](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codechef/32/90261_2.png) [@codechef](https://meta.discourse.org/u/codechef)
#### Post date: [18 augustus 2022 om 21:28 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/346 "2022-08-18T21:28:15Z")

</div>

I have the same issue. Were you able to resolve this @astro?

---

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [19 augustus 2022 om 09:19 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/348 "2022-08-19T09:19:29Z")

</div>

> [@astro](#):
>
> edit: (seems to big a bigger problem here, my bundler says the ruby version is too old and then i update my ruby and it still says it’s old)

Please share the output of `ruby -v` and `which ruby` on your terminal.

---

<div class="post-metadata">

### Author: ![codechef](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codechef/32/90261_2.png) [@codechef](https://meta.discourse.org/u/codechef)
#### Post date: [23 augustus 2022 om 13:45 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/349 "2022-08-23T13:45:40Z")

</div>

Oops, developer error on this one :man_facepalming:

I didn’t realize I was on a branch that was likely well behind the docker images. After switching to a current branch, I’m good. Hope this helps you out @astro.

---

<div class="post-metadata">

### Author: ![shadrach-tayo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shadrach-tayo/32/274738_2.png) [@shadrach-tayo](https://meta.discourse.org/u/shadrach-tayo)
#### Post date: [21 september 2022 om 17:43 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/350 "2022-09-21T17:43:15Z")

</div>

If you ever encounter a postgresql error starting up your rails server like this  
**Library not loaded: /opt/homebrew/opt/postgresql/lib/libpq.5.dylib**  
or **(no such file), ‘/usr/local/lib/libpq.5.dylib’**

```plaintext
gem uninstall pg
bundle install

```

---

<div class="post-metadata">

### Author: ![Hexadecimal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hexadecimal/32/283525_2.png) [@Hexadecimal](https://meta.discourse.org/u/Hexadecimal)
#### Post date: [29 november 2022 om 04:40 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/351 "2022-11-29T04:40:34Z")

</div>

Following the steps up to `bundle exec rake db:create` results in this error:

> bundle exec rake db:create
> 
> rake aborted!
> 
> LoadError: dlopen(/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86\_64-darwin-22/2.7.0/mini\_racer-0.6.1/mini\_racer\_extension.bundle, 0x0005): tried: ‘/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86\_64-darwin-22/2.7.0/mini\_racer-0.6.1/mini\_racer\_extension.bundle’ (not a mach-o file), ‘/System/Volumes/Preboot/Cryptexes/OS/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86\_64-darwin-22/2.7.0/mini\_racer-0.6.1/mini\_racer\_extension.bundle’ (no such file), ‘/Users/hex/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/extensions/x86\_64-darwin-22/2.7.0/mini\_racer-0.6.1/mini\_racer\_extension.bundle’ (not a mach-o file)
> 
> /Users/hex/Documents/forums/config/application.rb:69:in `\<top (required)\>’
> 
> /Users/hex/Documents/forums/Rakefile:7:in `require’
> 
> /Users/hex/Documents/forums/Rakefile:7:in `\<top (required)\>’
> 
> /Users/hex/.rbenv/versions/2.7.3/bin/bundle:25:in `load’
> 
> /Users/hex/.rbenv/versions/2.7.3/bin/bundle:25:in `’
> 
> (See full trace by running task with --trace)

– System information –  
OS: MacOS 13.0.1  
Processor: Intel  
Ruby Version: 2.7.3p183

Attempted both the latest code in the main branch, and also the stable branch. The error is the same either way.

---

<div class="post-metadata">

### Author: ![ted](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ted/32/283882_2.png) [@ted](https://meta.discourse.org/u/ted)
#### Post date: [15 december 2022 om 03:07 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/352 "2022-12-15T03:07:55Z")

</div>

Hello, @Hexadecimal! :blob_wave:

Please try re-installing `mini_racer` and see if you have the same problem.

From your `discourse` directory:

1. `gem uninstall mini_racer`
2. `bundle install`

If you still encounter the same problem, feel free to open up a topic with the output from running `bundle exec rake db:create --trace`.

---

<div class="post-metadata">

### Author: ![kokoyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kokoyo/32/290684_2.png) [@kokoyo](https://meta.discourse.org/u/kokoyo)
#### Post date: [26 januari 2023 om 11:18 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/353 "2023-01-26T11:18:53Z")

</div>

Hi. Wondering if anyone is facing this issue when installing?  
I’m using MacOS Ventura 13.1.

```plaintext
$ bundle exec rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
OpenSSL::PKey::PKeyError: pkeys are immutable on OpenSSL 3.0
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push/vapid_key.rb:35:in `generate_key!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push/vapid_key.rb:35:in `initialize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push.rb:53:in `new'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/web-push-1.0.0/lib/web_push.rb:53:in `generate_key'
/Users/kokoyo/discourse/config/initializers/100-push-notifications.rb:16:in `block in <main>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:445:in `instance_exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:445:in `block in make_lambda'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:199:in `block (2 levels) in halting'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:687:in `block (2 levels) in default_terminator'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:686:in `catch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:686:in `block in default_terminator'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:200:in `block in halting'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `block in invoke_before'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:595:in `invoke_before'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/callbacks.rb:106:in `run_callbacks'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/activesupport-7.0.4.1/lib/active_support/reloader.rb:88:in `prepare!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application/finisher.rb:68:in `block in <module:Finisher>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:32:in `instance_exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:32:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:61:in `block in run_initializers'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:228:in `block in tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:431:in `each_strongly_connected_component_from'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:349:in `block in each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `call'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:347:in `each_strongly_connected_component'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:226:in `tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/3.1.0/tsort.rb:205:in `tsort_each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/initializable.rb:60:in `run_initializers'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:372:in `initialize!'
/Users/kokoyo/discourse/config/environment.rb:7:in `<main>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38:in `require'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:348:in `require_environment!'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/railties-7.0.4.1/lib/rails/application.rb:511:in `block in run_tasks_blocks'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `block in execute'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in `execute'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:243:in `block in invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:241:in `invoke_prerequisites'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:218:in `block in invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `synchronize'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in `invoke_with_call_chain'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:188:in `invoke'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:160:in `invoke_task'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `each'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in `block in top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:125:in `run_with_threads'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:110:in `top_level'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:83:in `block in run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/rake:25:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/rake:25:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:58:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:58:in `kernel_load'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli/exec.rb:23:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:491:in `exec'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:34:in `dispatch'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/cli.rb:28:in `start'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:45:in `block in <top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/Users/kokoyo/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0/gems/bundler-2.4.1/exe/bundle:33:in `<top (required)>'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/bundle:25:in `load'
/Users/kokoyo/.rbenv/versions/3.1.3/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment

```

---

<div class="post-metadata">

### Author: ![cocococosti](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cocococosti/32/231474_2.png) [@cocococosti](https://meta.discourse.org/u/cocococosti)
#### Post date: [27 januari 2023 om 21:18 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/354 "2023-01-27T21:18:58Z")

</div>

Looks like you are using an old version of web-push, it should be version 3.0.0

I ran into this same issue, and I fixed it by uninstalling and reinstalling version 3.1.3 from rbenv:

```plaintext
rbenv uninstall 3.1.3
rbenv install 3.1.3
rbenv rehash

```

And for extra measure, I deleted this directory and its contents `discourse/vendor/bundle/` and ran `bundle install` again.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [30 januari 2023 om 18:56 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/355 "2023-01-30T18:56:50Z")

</div>

> [@kokoyo](#):
>
> `web-push-1.0.0`

We don’t use this gem anymore, please update your bundle.

---

<div class="post-metadata">

### Author: ![lmy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lmy/32/293215_2.png) [@lmy](https://meta.discourse.org/u/lmy)
#### Post date: [3 februari 2023 om 23:46 UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/356 "2023-02-03T23:46:04Z")

</div>

Hi team, do we need to install Sidekiq in our local MacOS?  
because I can see the message below:  
“A check for updates has not been performed. Ensure Sidekiq is running.”  
I assume I should be able to see an ‘upgrade’ button here, but only see the warning message instead.

[Previous page](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772.md?page=2)

[Next page](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772.md?page=4)
