change dependency versions for rails 4.1