Broken ManageIQ login after upgrade to Fedora 28

After upgrade to Fedora 28 you may experience problem when logging into your ManageIQ developer setup: your previously working passwords will be rejected during login.

The login problem boils down to bcrypt, the issue itself is described in

The patch attached to the issue resolves the login problems on Fedora 28.

cd ~/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bcrypt-3.1.11/ext/mri
# apply patch
cp ../../lib/

Thanks @mzazrivec!