adjusted dependencies to support rails 4