Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws error and exits on Apple silicon #455

Closed
sietseringers opened this issue Apr 15, 2021 · 4 comments
Closed

Throws error and exits on Apple silicon #455

sietseringers opened this issue Apr 15, 2021 · 4 comments

Comments

@sietseringers
Copy link

I can't seem to get mailcatcher to work on an M1 MacBook. It says the following:

Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
Traceback (most recent call last):
	10: from /usr/local/bin/mailcatcher:23:in `<main>'
	 9: from /usr/local/bin/mailcatcher:23:in `load'
	 8: from /Library/Ruby/Gems/2.6.0/gems/mailcatcher-0.7.1/bin/mailcatcher:3:in `<top (required)>'
	 7: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 6: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 5: from /Library/Ruby/Gems/2.6.0/gems/mailcatcher-0.7.1/lib/mail_catcher.rb:15:in `<top (required)>'
	 4: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 2: from /Library/Ruby/Gems/2.6.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:8:in `<top (required)>'
	 1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Library/Ruby/Gems/2.6.0/gems/eventmachine-1.0.9.1/lib/rubyeventmachine.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/eventmachine-1.0.9.1/lib/rubyeventmachine.bundle - /Library/Ruby/Gems/2.6.0/gems/eventmachine-1.0.9.1/lib/rubyeventmachine.bundle (LoadError)

I am using the ruby installed by default in the OS.

I have tried the following from a similar issue on another project:

gem uninstall eventmachine
gem install eventmachine --platform ruby
@sj26
Copy link
Owner

sj26 commented Jul 15, 2021

I'm on Apple Silicon, and everything is working fine.

What happens when you gem install eventmachine -v '1.0.9.1' --verbose?

@sj26
Copy link
Owner

sj26 commented Jul 17, 2021

I'm going to close this before it's working for me, but please reopen with more details if it's still not working for you.

@sj26 sj26 closed this as completed Jul 17, 2021
@lextoc
Copy link

lextoc commented Sep 13, 2021

I'm getting issues here as well:

➜  hq-api git:(master) gem install eventmachine -v '1.0.9.1' --verbose
HEAD https://rubygems.org/api/v1/dependencies
200 OK
GET https://rubygems.org/api/v1/dependencies?gems=eventmachine
200 OK
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/.gitignore
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/.travis.yml
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/.yardopts
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/CHANGELOG.md
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/GNU
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/Gemfile
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/LICENSE
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/README.md
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/Rakefile
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/DocumentationGuidesIndex.md
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/GettingStarted.md
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/ChangeLog
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/DEFERRABLES
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/EPOLL
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/INSTALL
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/KEYBOARD
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/LEGAL
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/LIGHTWEIGHT_CONCURRENCY
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/PURE_RUBY
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/RELEASE_NOTES
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/SMTP
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/SPAWNED_PROCESSES
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/docs/old/TODO
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/eventmachine.gemspec
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/guides/getting_started/01_eventmachine_echo_server.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/guides/getting_started/03_simple_chat_server.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/guides/getting_started/04_simple_chat_server_step_one.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/guides/getting_started/05_simple_chat_server_step_two.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/guides/getting_started/06_simple_chat_server_step_three.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/guides/getting_started/07_simple_chat_server_step_four.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/guides/getting_started/08_simple_chat_server_step_five.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/old/ex_channel.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/old/ex_queue.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/old/ex_tick_loop_array.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/old/ex_tick_loop_counter.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/examples/old/helper.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/binder.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/binder.h
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/cmain.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/ed.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/ed.h
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/em.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/em.h
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/eventmachine.h
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/extconf.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader/extconf.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader/mapper.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader/mapper.h
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader/rubymain.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/kb.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/page.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/page.h
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/pipe.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/project.h
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/rubymain.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/ssl.cpp
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/ssl.h
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/java/.classpath
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/java/.project
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/java/src/com/rubyeventmachine/EmReactor.java
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/java/src/com/rubyeventmachine/EmReactorException.java
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/java/src/com/rubyeventmachine/EventableChannel.java
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/java/src/com/rubyeventmachine/EventableDatagramChannel.java
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/java/src/com/rubyeventmachine/EventableSocketChannel.java
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/buftok.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/callback.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/channel.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/completion.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/connection.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/deferrable.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/deferrable/pool.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/file_watch.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/future.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/iterator.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/messages.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/pool.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/process_watch.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/processes.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/header_and_content.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/httpclient.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/httpclient2.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/line_and_text.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/line_protocol.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/linetext2.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/memcache.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/object_protocol.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/postgres3.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/saslauth.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/smtpclient.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/smtpserver.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/socks4.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/stomp.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/protocols/tcptest.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/pure_ruby.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/queue.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/resolver.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/spawnable.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/streamer.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/threaded_resource.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/tick_loop.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/timers.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/em/version.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/eventmachine.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/lib/jeventmachine.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/rakelib/cpp.rake_example
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/rakelib/package.rake
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/rakelib/test.rake
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/client.crt
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/client.key
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/em_test_helper.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_attach.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_basic.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_channel.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_completion.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_connection_count.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_connection_write.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_defer.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_deferrable.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_epoll.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_error_handler.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_exc.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_file_watch.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_futures.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_get_sock_opt.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_handler_check.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_hc.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_httpclient.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_httpclient2.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_idle_connection.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_inactivity_timeout.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_iterator.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_kb.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_line_protocol.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_ltp.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_ltp2.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_many_fds.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_next_tick.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_object_protocol.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_pause.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_pending_connect_timeout.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_pool.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_process_watch.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_processes.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_proxy_connection.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_pure.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_queue.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_resolver.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_running.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_sasl.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_send_file.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_servers.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_set_sock_opt.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_shutdown_hooks.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_smtpclient.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_smtpserver.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_spawn.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_ssl_args.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_ssl_methods.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_ssl_verify.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_stomp.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_system.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_threaded_resource.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_tick_loop.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_timers.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_ud.rb
/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/tests/test_unbind_reason.rb
Building native extensions. This could take a while...
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext
["/Users/alexanderclaes/.rbenv/versions/2.7.2/bin/ruby", "-I", "/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/2.7.0", "-r", "./siteconf20210913-70771-1tu7tg3.rb", "extconf.rb"]
checking for -lcrypto... no
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for ruby/thread.h... yes
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_thread_fd_select()... yes
checking for rb_fdset_t in ruby/intern.h... yes
checking for pipe2() in unistd.h... no
checking for accept4() in sys/socket.h... no
checking for SOCK_CLOEXEC in sys/socket.h... no
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for sys/event.h... yes
checking for sys/queue.h... yes
checking for clock_gettime()... yes
checking for CLOCK_MONOTONIC_RAW in time.h... yes
checking for CLOCK_MONOTONIC in time.h... yes
CXXFLAGS=-g -O2 -Wall -Wextra -Wno-deprecated-declarations -Wno-ignored-qualifiers -Wno-unused-result -Wno-address
creating Makefile
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext
"make \"DESTDIR=\" clean"

current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext
"make \"DESTDIR=\""
compiling binder.cpp
compiling cmain.cpp
compiling ed.cpp
compiling em.cpp
compiling kb.cpp
compiling page.cpp
compiling pipe.cpp
compiling rubymain.cpp
rubymain.cpp:208:3: warning: 'rb_rescue' is deprecated: Use of ANYARGS in this function is deprecated [-Wdeprecated-declarations]
                rb_rescue((VALUE (*)(ANYARGS))event_callback, (VALUE)&e, (VALUE (*)(ANYARGS))event_error_handler, Qnil);
                ^
/Users/alexanderclaes/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/backward/cxxanyargs.hpp:184:1: note: 'rb_rescue' has been explicitly marked deprecated here
RUBY_CXX_DEPRECATED("Use of ANYARGS in this function is deprecated")
^
/Users/alexanderclaes/.rbenv/versions/2.7.2/include/ruby-2.7.0/x86_64-darwin20/ruby/config.h:150:49: note: expanded from macro 'RUBY_CXX_DEPRECATED'
#define RUBY_CXX_DEPRECATED(msg) __attribute__((__deprecated__(msg)))
                                                ^
1 warning generated.
compiling ssl.cpp
linking shared-object rubyeventmachine.bundle
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext
"make \"DESTDIR=\" install"
/usr/bin/install -c -m 0755 rubyeventmachine.bundle ./.gem.20210913-70771-1tpoqjz
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext
/Users/alexanderclaes/.rbenv/versions/2.7.2/bin/ruby -I /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/2.7.0 -r ./siteconf20210913-70771-1tu7tg3.rb extconf.rb
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext
make "DESTDIR=" clean
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext
make "DESTDIR="
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext
make "DESTDIR=" install
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
["/Users/alexanderclaes/.rbenv/versions/2.7.2/bin/ruby", "-I", "/Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/2.7.0", "-r", "./siteconf20210913-70771-1iquajc.rb", "extconf.rb"]
creating Makefile
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
"make \"DESTDIR=\" clean"

current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
"make \"DESTDIR=\""
compiling mapper.cpp
compiling rubymain.cpp
linking shared-object fastfilereaderext.bundle
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
"make \"DESTDIR=\" install"
/usr/bin/install -c -m 0755 fastfilereaderext.bundle ./.gem.20210913-70771-jiwbdo
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
/Users/alexanderclaes/.rbenv/versions/2.7.2/bin/ruby -I /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/2.7.0 -r ./siteconf20210913-70771-1iquajc.rb extconf.rb
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
make "DESTDIR=" clean
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
make "DESTDIR="
current directory: /Users/alexanderclaes/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
make "DESTDIR=" install
Successfully installed eventmachine-1.0.9.1
Parsing documentation for eventmachine-1.0.9.1
Parsing sources...
100% [92/92]  lib/rubyeventmachine.bundle
Done installing documentation for eventmachine after 0 seconds
1 gem installed
➜  hq-api git:(master) mailcatcher
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
Traceback (most recent call last):
	10: from /usr/local/Cellar/mailcatcher/0.8.1/libexec/bin/mailcatcher:23:in `<main>'
	 9: from /usr/local/Cellar/mailcatcher/0.8.1/libexec/bin/mailcatcher:23:in `load'
	 8: from /usr/local/Cellar/mailcatcher/0.8.1/libexec/gems/mailcatcher-0.8.1/bin/mailcatcher:4:in `<top (required)>'
	 7: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 6: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 5: from /usr/local/Cellar/mailcatcher/0.8.1/libexec/gems/mailcatcher-0.8.1/lib/mail_catcher.rb:7:in `<top (required)>'
	 4: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 2: from /usr/local/Cellar/mailcatcher/0.8.1/libexec/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:8:in `<top (required)>'
	 1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/usr/local/Cellar/mailcatcher/0.8.1/libexec/gems/eventmachine-1.0.9.1/lib/rubyeventmachine.bundle, 0x0009): could not use '/usr/local/Cellar/mailcatcher/0.8.1/libexec/gems/eventmachine-1.0.9.1/lib/rubyeventmachine.bundle' because it is not a compatible arch - /usr/local/Cellar/mailcatcher/0.8.1/libexec/gems/eventmachine-1.0.9.1/lib/rubyeventmachine.bundle (LoadError)

@Jarrodsz
Copy link

Well, this github issue was helpfull..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants