Lock mime-types to ~> 1.25 on Ruby 1.8 and JRuby