fix dependencies so rails 4 is supported.