The package rails 2:4.2.5.1-1 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