Discourse installation on OCI ampere A1

I am trying to install discourse on OCI ampere a1 instance and the unicorn process is failing for me, when I check the logs it shows this. Any idea ?

I, [2022-07-04T04:55:03.949240 #1286]  INFO -- : Refreshing Gem list
I, [2022-07-04T04:55:06.123255 #1286]  INFO -- : listening on addr=127.0.0.1:3000 fd=10
/var/www/discourse/vendor/bundle/ruby/2.7.0/gems/actionview_precompiler-0.2.3/lib/actionview_precompiler/precompiler.rb:29: [BUG] Segmentation fault at 0x9999f332b3efba58
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [aarch64-linux]