eventmachine didn’t release a new gems for a long time, so we have to manually compile if you decide using Ruby 2.1.3, it’s probably the most complex gems which can still successfully install on windows as far as I known, here is the steps for your interesting:
git clone https://github.com/eventmachine/eventmachine cd eventmachine && bundle install
Now you need using updated version of rake-compiler (v0.9.3) to continue, so change eventmachine.gemspec to that version and do the
bundle install again.
Now we can running
rake package and it should generate the updated 1.0.3 gem file you need, but before that you need another depend lzma package mentioned in Ruby Installer Google Group, I only tested x86 but the x64 should be same.
- Put the download openssl-1.0.0m-x86-windows.tar.lzma to
bsdtar --lzma -xf sqlite-22.214.171.124-x86-windows.tar.lzma
gem install ./eventmachine-1.0.3.gem --platform=ruby -- --with-opt-dir=C:/Temp
Now enjoy eventmachine on ruby 2.1.3 windows!