The package rails 2:5.2.2+dfsg-6 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