Resolve "ChatOps is not compatible with M1 CPUs"
Context:
I could not run the ChatOps project on my new M1 laptop. Every time that I executed a test, I received the following error message:
Failure/Error: require 'http'
TypeError:
unable to resolve type 'size_t'
# ./lib/chatops.rb:4:in `require'
# ./lib/chatops.rb:4:in `<top (required)>'
# ./spec/spec_helper.rb:27:in `require'
# ./spec/spec_helper.rb:27:in `<top (required)>'
# ./spec/chatops/commands/batched_background_migrations_spec.rb:3:in `require'
# ./spec/chatops/commands/batched_background_migrations_spec.rb:3:in `<top (required)>'
No examples found.
After some investigation, I found that the current version of ffi
is incompatible with M1 CPUs.
Solution:
Update ffi
gem
Closes #128 (closed)
Edited by Diogo Frazão