# \[Need help\]\[MacOS M1 dev installation\] ArgumentError unknown keywords

**URL:** https://meta.discourse.org/t/need-help-macos-m1-dev-installation-argumenterror-unknown-keywords/238578
**Category:** Self-hosting
**Created:** [September 9, 2022, 6:26pm UTC](https://meta.discourse.org/t/need-help-macos-m1-dev-installation-argumenterror-unknown-keywords/238578 "2022-09-09T18:26:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![YAN](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yan/32/212753_2.png) [@YAN](https://meta.discourse.org/u/YAN)
#### Post date: [September 9, 2022, 6:26pm UTC](https://meta.discourse.org/t/need-help-macos-m1-dev-installation-argumenterror-unknown-keywords/238578/1 "2022-09-09T18:26:22Z")

</div>

I’m trying to install discourse following  
[Beginners Guide to Install Discourse on macOS for Development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-macos-for-development/15772)

I’ve installed the dependencies with the [script](https://github.com/discourse/install-rails/blob/main/mac). To fix some bugs I’ve modified some codes:

1. in the script: `brew install postgres` → ` brew install postgresql@14`
2. in gemfile: `mini_racer`. -\>. `mini_racer, github: 'rubyjs/mini_racer', branch: 'refs/pull/186/head'`
3. in 006-mini\_profiler.rb: ` Rack::MiniProfiler.counter_method(Redis::Client, :call) { 'redis' }`. -\>. ` Rack::MiniProfiler.counter_method(Redis::Client, :caller) { 'redis' }`

I’ve referred to this blog [Tips and tricks for developing Rails applications on Apple Silicon](https://discuss.rubyonrails.org/t/tips-and-tricks-for-developing-rails-applications-on-apple-silicon/77089) and succeeded until the step `bin/rake db:create db:migrate`

However, when I’m trying to run `bin/rails s` to start the server, I met this error:  
 ![image](https://global.discourse-cdn.com/meta/optimized/4X/a/1/8/a18aa1641f40365aa797a9a43b08d2a548386338_2_690x35.png)  
I checked the file and didn’t find these arguments at all. I wonder if anyone happen to have ideas about this problem? Great thanks in advance!
