Eventmachine gem install fail

I could install it, doing this steps: 1) tried a normal install: gem install eventmachine it fetched the version 1.0.3 of the gem, but failed in the make, because of a variable declaration conflit 2) edited the file: c:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\eventmachine-1.0.3\ext\project.h and commented the line 97 //typedef int pid_t; for a more robust correction, checkout the solution … Read more

gem eventmachine fatal error: ‘openssl/ssl.h’ file not found

$ gem install eventmachine — –with-cppflags=-I/usr/local/opt/openssl/include Building native extensions with: ‘–with-cppflags=-I/usr/local/opt/openssl/include’ This could take a while… Successfully installed eventmachine-1.0.8 1 gem installed You can also set up bundler like this but I think that is superficial bundle config build.eventmachine –with-cppflags=-I/usr/local/opt/openssl/include