an update depencies for rails 4 support

Hello. This is an update depencies for rails 4 support.
Tested with rails 4.0.0