Building native extensions. This could take a while...
ERROR: Error installing rbsecp256k1:
ERROR: Failed to build gem native extension.
current directory: /Users/sai/.rvm/gems/ruby-3.0.3/gems/rbsecp256k1-5.1.0/ext/rbsecp256k1
/Users/sai/.rvm/rubies/ruby-3.0.3/bin/ruby -I /Users/sai/.rvm/rubies/ruby-3.0.3/lib/ruby/3.0.0 -r ./siteconf20220708-3448-ugalrp.rb extconf.rb
2 retrie(s) left for libsecp256k1.zip (SSL_connect returned=1 errno=0 state=error: certificate verify failed (Hostname mismatch))
1 retrie(s) left for libsecp256k1.zip (execution expired)
0 retrie(s) left for libsecp256k1.zip (execution expired)
execution expired
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/sai/.rvm/rubies/ruby-3.0.3/bin/$(RUBY_BASE_NAME)
--with-system-library
--without-system-library
/Users/sai/.rvm/rubies/ruby-3.0.3/lib/ruby/3.0.0/digest.rb:50:in `initialize': No such file or directory @ rb_sysopen - /Users/sai/.rvm/gems/ruby-3.0.3/gems/rbsecp256k1-5.1.0/ext/rbsecp256k1/ports/archives/libsecp256k1.zip (Errno::ENOENT)
from /Users/sai/.rvm/rubies/ruby-3.0.3/lib/ruby/3.0.0/digest.rb:50:in `open'
from /Users/sai/.rvm/rubies/ruby-3.0.3/lib/ruby/3.0.0/digest.rb:50:in `file'
from /Users/sai/.rvm/rubies/ruby-3.0.3/lib/ruby/3.0.0/digest.rb:35:in `file'
from /Users/sai/.rvm/gems/ruby-3.0.3/gems/mini_portile2-2.8.0/lib/mini_portile2/mini_portile.rb:335:in `verify_file'
from extconf.rb:50:in `download'
from /Users/sai/.rvm/gems/ruby-3.0.3/gems/mini_portile2-2.8.0/lib/mini_portile2/mini_portile.rb:182:in `cook'
from extconf.rb:83:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /Users/sai/.rvm/gems/ruby-3.0.3/gems/rbsecp256k1-5.1.0 for inspection.
Results logged to /Users/sai/.rvm/gems/ruby-3.0.3/extensions/x86_64-darwin-18/3.0.0/rbsecp256k1-5.1.0/gem_make.out
ubuntu is normal and ok
mac os ruby 3.0.03