All threads / Upgrade to Mojave on Mac OS

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Upgrade to Mojave on Mac OS

Pam Willenz asked in Rails

Hi Chris - I am running Sierra (not high Sierra) on my fairly new Mac (summer 2017). I need to upgrade to Mojave and am afraid I will break my ruby/rails dev environment (like I did when I upgraded before). I just landed a consulting project and want to do this, troubleshoot everything before I start work.

Can you provide a guide for upgrading versus reinstalling everything or point me to a good tutorial?

thanks,
Pam

Hey Pam!

I think a few things will break, but you should be fine. I don't have an upgrade guide specifically, but the steps are about the same:

  1. Upgrade your OS
  2. Upgrade & Install the latest XCode: xcode-select --install 2.5. You may also need to install XCode's Command Line Tools
  3. Upgrade your Homebrew install
  4. If you get an ld: library not found for -lstdc++ error installing gems, you can run: sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /

I think that should be it.

thanks, Chris, for your quick reply.

One thing I noticed when I previously upgraded was a big issue with Capybara and QT. Do you know if this might be an issue?

It looks like there's a solution for that now at least: https://stackoverflow.com/a/53642942/277994

Let me know if that works for ya!

thanks, Chris. Do you use Capybara and if not, do you use something else?

Seems like a lot of mix and matching that might break other things.

Yeah, I do use Capybara. I tend to stick with the Rails official testing tools, and their system tests are run with Capybara. https://guides.rubyonrails.org/testing.html#system-testing

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,344+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.