support rails 4.0

With changing dependent version only, this gem works form me with rails 4.0.0.