The package rails 2:5.2.4.3+dfsg-2 has been added to kali-rolling. It has been imported from Debian: https://tracker.debian.org/pkg/rails -- More information about rails: http://pkg.kali.org/pkg/rails