Resolve my ruby error

Job ID: 31263556

Budget: ₹600 – ₹1,500 INR

I am experiencing an error for quite some time: /Users/aashishgangwani/.rvm/rubies/ruby-2.7.4/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require': incompatible library version - /Users/aashishgangwani/.rvm/gems/ruby-2.7.4/gems/openssl-2.2.0/lib/openssl.bundle (LoadError)

I have tried posting it on stackoverflow:

https://stackoverflow.com/questions/68680800/error-while-rails-new-app-name-and-installing-openssl-gem

I have tried:

reinstalling the openssl gem through brew


Nothing is working tried all solutions on stackoverflow. Please help.
Related categories: Ruby on Rails Software Architecture Ruby