bump dependencies to rails 4