Use pessimistic matcher for default rails versions

Prevent needing to update the default rails versions for each minor
release.