Revert "Use only the latest and most secure version of Rails"

This reverts commit 4bc444f0ac4372a31d7e3bae1cadcde4f958ec38.
Remove duplicate Rails dependency from gemspec