Rails 4

Upgrade gem to be compatible with Rails 4

https://jira.backupify.com/browse/CORE-3773
Why do we want to pull in all of rails here?