# Getting error when installing Nokogiri on Mac OS X for development

**URL:** <https://meta.discourse.org/t/getting-error-when-installing-nokogiri-on-mac-os-x-for-development/48880>\
**Category:** Development\
**Created:** [17 Agosto, 2016 21:53 UTC](https://meta.discourse.org/t/getting-error-when-installing-nokogiri-on-mac-os-x-for-development/48880 "2016-08-17T21:53:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [18 Agosto, 2016 19:24 UTC](https://meta.discourse.org/t/getting-error-when-installing-nokogiri-on-mac-os-x-for-development/48880/2 "2016-08-18T19:24:59Z")

</div>

> [@Install Discourse on macOS for development](https://meta.discourse.org/t/install-discourse-on-macos-for-development/15772/85):
>
> Does anyone have a solution?

Try:

```
gem uninstall nokogiri
xcode-select --install
gem install nokogiri

```

---

_[View the full topic](https://meta.discourse.org/t/getting-error-when-installing-nokogiri-on-mac-os-x-for-development/48880)._
