Installing ruby with rbenv on Fedora 31
Suppose you try
rbenv install 2.7.0
and get the error
ruby-2.7.0/lib/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- openssl (LoadError)
You should run
sudo dnf install openssl-devel
Then try again
rbenv install 2.7.0
Now it works!