The rack 1.2.1 gem breaks on ruby < 1.8.7 because Regexp.union does not take an array argument. This patch fixes it. If you are opposed to changing things to support very old versions of ruby maybe at least the gem could require ruby 1.8.7 or greater.