From: "Bartosz DziewoƄski" Date: 2012-04-01T05:59:11+09:00 Subject: Re: Can't open url with a subdomain with an underscore Well, you could also copy the patched URI::Parser#initialize_pattern method to all your files that need it. (Just make sure to require 'uri' first, and monkeypatch later.) Like this: require 'uri' class URI::Parser def initialize_pattern(opts = {}) end end There is no other way to do it, without rewriting the entire URI library from scratch. (And that would be stupid, even more so since the way you want it to work is technically invalid.) -- Matma Rex