I am not able to install eventmachine
Ok I know this has been asked quite a lot, but no solutions I found has helped me so far.So I posted here as a last resort.
The above answer on how to compile did not work for me, as I would get the "cannot load such file" message. I resolved this problem by running the gem build eventmachine.gemspec from a git checkout of the eventmachine repo.
https://github.com/eventmachine/eventmachine/tree/v1.0.3
You should be able to see that the size of the .gem file is much greater as it actually includes the proper code.