Code Monkey home page Code Monkey logo

Comments (8)

rprandi avatar rprandi commented on August 27, 2024 98

Well i know this will probably never get fixed, but for reference if any of the forks wish to solve it, i found this article explaining the problem:

https://blog.phusion.nl/2017/10/13/why-ruby-app-servers-break-on-macos-high-sierra-and-what-can-be-done-about-it/

The article also mentions a workaround:

export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

from shotgun.

lucasklaassen avatar lucasklaassen commented on August 27, 2024 20

For anyone coming here that upgrades to Mojave and exports the env variable and it still doesn't work, please please please run xcode-select --install and then make sure to open the Xcode app as it will ask you to install some additional components to get it running. Then restart your mac and it should be gucci.

from shotgun.

dongido001 avatar dongido001 commented on August 27, 2024 19

Worked for me after installing passenger:

brew install passenger
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

from shotgun.

vsage avatar vsage commented on August 27, 2024 7

For people still having this issue in Mojave, try upgrading ruby to a version >= 2.4.4 in the Gemfile and run bundle install

from shotgun.

osxgirl avatar osxgirl commented on August 27, 2024 6

Well, this is helpful as well in the Beta of Mac OS Mojave. Thank you.

// ♥ objc[3502]: +[__NSPlaceholderDictionary initialize] may have been in progress in another thread when fork() was called.
objc[3502]: +[__NSPlaceholderDictionary initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.

from shotgun.

rprandi avatar rprandi commented on August 27, 2024

the problem is:

== Shotgun/WEBrick on http://127.0.0.1:8999/
objc[89654]: +[__NSPlaceholderDictionary initialize] may have been in progress in another thread when fork() was called.
objc[89654]: +[__NSPlaceholderDictionary initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
[2017-10-04 13:36:39] ERROR EOFError: end of file reached

from shotgun.

fmquaglia avatar fmquaglia commented on August 27, 2024

worked for me after upgrading to Mojave. Thank you <3

from shotgun.

 avatar commented on August 27, 2024

Hi,
Thanks to all of you found this useful :-) and to add to Lucas keep an up to date software

from shotgun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.