Just got burnt by the lack of isolation that Thin applies when evaluating config.ru. The config.ru got access to a variable that I did not expect it to.