# 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. August 2016 um 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:** 9

<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:** [19. August 2016 um 19:04 UTC](https://meta.discourse.org/t/getting-error-when-installing-nokogiri-on-mac-os-x-for-development/48880/9 "2016-08-19T19:04:06Z")

</div>

The issue is that current Discourse source code requires Ruby version **2.3** , while as per screenshot you have Ruby version **2.2.3** installed.

The [Mac install script](https://github.com/techAPJ/install-rails/blob/master/mac) was updated two weeks ago to install Ruby version 2.3, so it seems you will need to run that script again or update Ruby version manually.

Also, can you please paste contents from your console here instead of pasting screenshots? This will help with better indexing on Google search.

---

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