Commit ad2f5d47 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis 🏃🏽

Merge branch 'add-gpgme-mojave-troubleshooting-section' into 'master'

Add `gpgme` gem plus macOS Mojave section in troubleshooting doc.

See merge request !556
parents 6c149fd5 a6ddabdb
Pipeline #40598485 failed with stages
in 18 minutes and 3 seconds
......@@ -319,6 +319,30 @@ xcode-select --install
gem install nokogiri
## `gem install gpgme` `2.0.x` fails to compile native extension on macOS Mojave
If building `gpgme` gem fails with an `Undefined symbols for architecture x86_64` error on macOS Mojave, build `gpgme` using system libraries instead.
1. Ensure necessary dependencies are installed:
brew install gpgme
1. (optional) Try building the `gpgme` gem manually to ensure it compiles. If it fails, debug the failure with the error messages. To compile the `gpgme` gem manually run:
gem install gpgme -- --use-system-libraries
1. Configure Bundler to use system libraries for the `gpgme` gem:
bundle config build.gpgme --use-system-libraries
You can now run `gdk install` or `bundle` again.
## Delete non-existent migrations from the database
If for some reason you end up having database migrations that no longer exist
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment