The package rails 2:4.2.9-4 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