update dependencies for rails 4.1

Would '~> 4.0' have worked?
How about ['>= 4.0', '<=4.1'] ?