From 502030044289f5be9d24c64c0f5683c042bf4006 Mon Sep 17 00:00:00 2001 From: Nathan Acuff Date: Fri, 17 Nov 2023 12:59:21 -0600 Subject: [PATCH] export a flag to disable objc fork safety. this is required in order to get forking to work properly in hte docraptor tests. as things labeled 'unsafe' go, it is fairly safe. We have seen this before and this was the solution then, too. Read more: https://stackoverflow.com/questions/52671926/rails-may-have-been-in-progress-in-another-thread-when-fork-was-called --- .bash_profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bash_profile b/.bash_profile index d653e7f..441b976 100644 --- a/.bash_profile +++ b/.bash_profile @@ -99,3 +99,5 @@ export PATH="$(brew --prefix)/Cellar/sbt@0.13/0.13.18_1/bin:$PATH" if [[ -f "$(brew --prefix)/bin/terraform" ]]; then complete -C $(brew --prefix)/bin/terraform terraform fi + +export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES