Revert "Upgrade Rails"

This reverts commit e9472ef63d18c89f9cc60294b7d09927a65a4b77.
Upgrade Rails take 2
Clean gemfile