Building EventMachine

Nano WANG edited this page Mar 30, 2017 · 8 revisions
  git clone https://github.com/eventmachine/eventmachine.git
  cd eventmachine
  bundle install --path vendor/bundle
  bundle exec rake compile

  bundle exec irb

EventMachine may require the following dependencies, depending on your specific usage:

  • Ruby 1.8.7 or higher
  • Bundler 1.0 or higher
  • libstdc++ (some systems, such as debian, may require a development package, i.e. `libstdc++-dev`)
  • OpenSSL is optional to provide SSL/TLS transport encryption

Docker ruby:alpine

When building on the `ruby:alpine` base Docker image you need to install the following packages:

apk --update add g++ musl-dev make