Upgrade to rails 4.1
Specify versions for some dependencies
Update dependencies