Upgrade the rails gem

https://trello.com/c/YZb1Psgj
Upgrade the uglifier gem

Update UglifyJS to 2.4.14

https://trello.com/c/ENToaIyn