Skip to content

Commit

Permalink
adds hint to docs/README.md how to compile eventmachine with Ruby >= …
Browse files Browse the repository at this point in the history
…3.0 on macOS
  • Loading branch information
tisba authored and olleolleolle committed Jun 29, 2023
1 parent baa7b27 commit 83676df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ $ bundle exec jekyll serve
# The site will now be reachable at http://127.0.0.1:4000/faraday/
```

On newer Ruby versions (>= 3.0) `eventmachine` needs a little help to find OpenSSL 1.1 to get compiled (see <https://github.com/eventmachine/eventmachine/issues/936>). If you're using homebrew on macOS, you can do this:

```bash
brew install openssl@1.1
bundle config build.eventmachine --with-openssl-dir=$(brew --prefix openssl@1.1)
bundle install
```

[website]: https://lostisland.github.io/faraday

0 comments on commit 83676df

Please sign in to comment.