From: Phrogz Date: 2006-12-27T10:20:11+09:00 Subject: Re: A problem about replacing a string in a template. Phrogz wrote: > So, nominally the same version. Perhaps a change in binding/scope for > Ruby 1.8.5 vs 1.8.4? Argh, I figured it out: I was using an old version of the Ruby script runner with TextMate, and that was causing some weird scoping issue. I just deleted the old Bundles I had lying around with the old runner, and the new (sexy looking!) script runner has ERB/TOPLEVEL_BINDING working as expected, in 1.8.5.