Building EventMachine

Chulki Lee edited this page Sep 20, 2018 · 9 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

Alpine

When building on the alpine base Docker image (e.g. ruby:alpine) you need to install the following packages:

apk add --no-cache g++ musl-dev make

To run it, you need to make sure libstdc++ is installed.

apk add --no-cache libstdc++
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.