Comments (8)
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:
The article also mentions a workaround:
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
from shotgun.
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.
Worked for me after installing passenger:
brew install passenger
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
from shotgun.
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.
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.
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.
worked for me after upgrading to Mojave. Thank you <3
from shotgun.
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)
- No output from Rack::CommonLogger HOT 8
- Can not run shotgun in cmd.exe on Windows 7 (64bit) HOT 8
- Can't use `require_relative` from within `./shotgun.rb`
- EM.next_tick never called HOT 2
- NameError: uninitialized constant Shotgun::Loader::YAML HOT 2
- direct users to sinatra-contrib reloader HOT 4
- Provide license information for the software
- shotgun don't work on windows
- Sinatra `enable :lock` doesn't work with Shotgun HOT 1
- LoadError when requiring 'net/ldap' gem HOT 5
- On stop server I get error in loop reactor HOT 1
- Incompatible with SuckerPunch Async HOT 1
- Shotgun visits every mapping in config.ru regardless the request HOT 10
- The way shotgun run HOT 4
- Rack 2.0.1 breaks requiring rack in bin/shotgun HOT 1
- Running a basic sinatra file shotgun breaks and cannot find 'rack/commonlogger' HOT 4
- e HOT 1
- Ruby 3 Compatibility HOT 4
- Ruby 3.0.0 -- every webserver seems to error with "wrong number of arguments (given 2, expected 1) (ArgumentError)" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shotgun.