# בעיית התקנת ה-gem של Mailcatcher ב-MacOS Catalina והפתרון שלה

**URL:** <https://meta.discourse.org/t/mailcatcher-gem-installation-issue-on-macos-catalina-and-its-solution/168606>\
**Category:** Development\
**Created:** [29 באוקטובר,‏ 2020,‏ 5:19am UTC](https://meta.discourse.org/t/mailcatcher-gem-installation-issue-on-macos-catalina-and-its-solution/168606 "2020-10-29T05:19:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<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:** [29 באוקטובר,‏ 2020,‏ 5:19am UTC](https://meta.discourse.org/t/mailcatcher-gem-installation-issue-on-macos-catalina-and-its-solution/168606/1 "2020-10-29T05:19:10Z")

</div>

I faced this issue a few weeks back and was able to resolve it in the following manner.  
The mailcatcher gem as of writing this depends on thin-1.5.1 which doesn’t install correctly.

Now, if you face the issue, uninstall the thin gem. Then,  
do

```plaintext
gem install thin -v 1.5.1 -- --with-cflags="-Wno-error=implicit-function-declaration"
gem install mailcatcher

```

And you should be good to go.

Here’s the StackOverflow link I followed with some tweaks.

> <https://stackoverflow.com/questions/63278694/thin-and-puma-fail-with-similar-issues-error-failed-to-build-gem-native-exten>

---

_[View the full topic](https://meta.discourse.org/t/mailcatcher-gem-installation-issue-on-macos-catalina-and-its-solution/168606)._
