# Installing on OS Catalina

**URL:** <https://talk.jekyllrb.com/t/installing-on-os-catalina/3859>\
**Category:** Help\
**Created:** [January 31, 2020, 10:00pm UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859 "2020-01-31T22:00:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![stickershock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/stickershock/32/2226_2.png) [@stickershock](https://talk.jekyllrb.com/u/stickershock)\
**Post date:** [January 31, 2020, 10:00pm UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859/1 "2020-01-31T22:00:37Z")

</div>

I am reading ahead in the install page ~/installation/macOS/ and it says " On Mojave (10.14) Because of SIP Protections in Mojave, you must run:…"

Now that the OS is Catalina, are there any new things that need to be done at that stage?

Also on that page it says " We strongly recommend against installing Ruby gems globally to avoid file permissions problems and using `sudo` ." If I am cd into my directory in Terminal, am I right in thinking that I am not in danger of installing Ruby gems globally?

---

<div class="post-metadata">

**Author:** ![Uberfuzzy](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/uberfuzzy/32/878_2.png) [@Uberfuzzy](https://talk.jekyllrb.com/u/Uberfuzzy)\
**Post date:** [February 17, 2020, 2:54pm UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859/2 "2020-02-17T14:54:25Z")

</div>

I cant personally speak to the first part, as I my setup was created pre Mojave, so the easier version for me applied. I dont think anyone on my team has run into any Catalina specific problems on reinstalling after a wipe.

As for the second half, I would suggest going the rbenv route to install ruby, (per the "setup `rbenv`" instructions on that page), so when you do your bundle install, the gems install only for rbenv’s ruby (not the system ruby) , and also only THAT version of rbenv-ruby.

Anytime you can avoid touching or messing with any of the native MacOS ruby parts (either due to security or just how out of date they are) you will save a lot of problems.

---

<div class="post-metadata">

**Author:** ![stickershock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/stickershock/32/2226_2.png) [@stickershock](https://talk.jekyllrb.com/u/stickershock)\
**Post date:** [February 17, 2020, 3:06pm UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859/3 "2020-02-17T15:06:15Z")

</div>

Thanks. I will take a look.

---

<div class="post-metadata">

**Author:** ![stickershock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/stickershock/32/2226_2.png) [@stickershock](https://talk.jekyllrb.com/u/stickershock)\
**Post date:** [February 17, 2020, 3:30pm UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859/4 "2020-02-17T15:30:00Z")

</div>

I see a warning and not sure what this signifies? Or what I should do?

WARNING: You don’t have /Users/myname/.gem/ruby/2.6.0/bin in your PATH,  
gem executables will not run.  
Successfully installed bundler-2.1.4  
Parsing documentation for bundler-2.1.4  
Installing ri documentation for bundler-2.1.4  
Done installing documentation for bundler after 3 seconds

---

<div class="post-metadata">

**Author:** ![stickershock](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/stickershock/32/2226_2.png) [@stickershock](https://talk.jekyllrb.com/u/stickershock)\
**Post date:** [February 17, 2020, 3:59pm UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859/5 "2020-02-17T15:59:31Z")

</div>

I have got past that.

---

<div class="post-metadata">

**Author:** ![kevdog](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/kevdog/32/2327_2.png) [@kevdog](https://talk.jekyllrb.com/u/kevdog)\
**Post date:** [March 13, 2020, 1:37am UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859/6 "2020-03-13T01:37:44Z")

</div>

Do you still need help with this issue?

Did you add that directory to your PATH statement?

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [March 13, 2020, 7:52am UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859/7 "2020-03-13T07:52:29Z")

</div>

I went through the Catalina upgrade and wrote about the approach that worked for me to get ruby and bundler working. In addition I had to delete and rebuild all my vendor directories in my projects as the previous OS version 2.3 ruby is no longer available.

> <https://github.com/MichaelCurrin/learn-to-code/blob/master/Scripting%20languages/Ruby/README.md#macos>

---

<div class="post-metadata">

**Author:** ![jasonhemann](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jasonhemann/32/3095_2.png) [@jasonhemann](https://talk.jekyllrb.com/u/jasonhemann)\
**Post date:** [December 29, 2020, 8:06pm UTC](https://talk.jekyllrb.com/t/installing-on-os-catalina/3859/8 "2020-12-29T20:06:35Z")

</div>

My question was similar to OP’s. I resurrect this b/c w/Big Sur now too, it might be time to update the guidance for Mojave /and forward/?

@MichaelCurrin, this was useful, but I had to dig a bit to find it. For anyone else who follows, try instead [https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting\_languages/Ruby/README.md](https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/scripting_languages/Ruby/README.md)
