# 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:** [May 19, 2014, 4:59pm UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772 "2014-05-19T16:59:50Z")
**Posts on this page:** 1
**Showing post:** 362

<div class="post-metadata">

### Author: ![annietg9](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/annietg9/32/298699_2.png) [@annietg9](https://meta.discourse.org/u/annietg9)
#### Post date: [March 20, 2023, 5:29am UTC](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/362 "2023-03-20T05:29:29Z")

</div>

It won’t install Ruby for some reason. I keep getting this:

```plaintext
BUILD FAILED (macOS 12.5.1 using ruby-build 20230309)

Inspect or clean up the working tree at /var/folders/f6/95l6wylj4d11_jyvyp7r9yd40000gn/T/ruby-build.20230320012216.80048.RdOmWC
Results logged to /var/folders/f6/95l6wylj4d11_jyvyp7r9yd40000gn/T/ruby-build.20230320012216.80048.log

Last 10 log lines:
	Check ext/psych/mkmf.log for more details.
*** Fix the problems, then remove these directories and try again if you want.
Generating RDoc documentation
/private/var/folders/f6/95l6wylj4d11_jyvyp7r9yd40000gn/T/ruby-build.20230320012216.80048.RdOmWC/ruby-3.2.1/lib/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
uh-oh! RDoc had a problem:
cannot load such file -- psych

run with --debug for full backtrace
make: *** [rdoc] Error 1
failed

```

Could someone please help me with this?

---

_[View the full topic](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772)._
