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