updating gems versions for rails 4 support