I got a new m1 mac and I can't install eventmachine
gem, full log below.
I tried these solutions:
- Install gem eventmachine 1.2.7 with ssl on m1
- eventmachine does not compile with ruby 3.0.0preview1 on macOS · Issue #932 · eventmachine/eventmachine
same error.
some info:
$ sw_vers
ProductName: macOS
ProductVersion: 12.2
BuildVersion: 21D49
$ bundle --version
Bundler version 2.1.4
and the error:
$ gem install eventmachine -v '1.2.7'
em.cpp:706:13: error: use of undeclared identifier 'rb_thread_select'; did you mean 'rb_thread_fd_select'?
if ((ret = rb_thread_select(kqfd + 1, &fdreads, NULL, NULL, &tv)) < 1) {
^~~~~~~~~~~~~~~~
rb_thread_fd_select
Full output: https://gist.github.com/goldylucks/8369ea09af4f3f70d707809f4bb700df
any ideas how to solve this?
rb_thread_select
error. – Demosthenes