Upgrade to Mojave on Mac OS
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:
- Upgrade your OS
- Upgrade & Install the latest XCode:
xcode-select --install
2.5. You may also need to install XCode's Command Line Tools - Upgrade your Homebrew install
- 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