oesmith / puffing-billy

A rewriting web proxy for testing interactions between your browser and external sites. Works with ruby + rspec.
MIT License
656 stars 170 forks source link

Segmentation fault #291

Closed Novtopro closed 4 years ago

Novtopro commented 4 years ago
1
ronwsmith commented 4 years ago

Looks like the issue is within eventmachine. I'd recommend creating an issue for that gem.

momolog commented 3 years ago

@Novtopro I ran into the exact same error and the reason was that my ruby hat been compiled with a different openssl version (1.0.2) than eventmachine (1.1.1). I fixed this by

  1. installing openssl 1.0.2 via brew install rbenv/tap/openssl@1.0
  2. removing the eventmachine gem via gem uninstall eventmachine
  3. adding this to my ./.bundle/config:
    BUNDLE_BUILD__EVENTMACHINE: "--with-cppflags=-I/usr/local/opt/openssl@1.0/include"
  4. re-bundling via bundle install

Hope this helps somebody.