From: Phrogz Date: 2006-12-26T05:30:04+09:00 Subject: Re: A problem about replacing a string in a template. Phrogz wrote: > Andrea Fazzi wrote: > > It works, please test it. In fact, If you don't pass explicity the > > binding argument, then the TOPLEVEL_BINDING is passed by default. > > Hrm, I did test it before I posted, albeit not exactly the code you > pasted. I just tested your original code exactly, and it gave me the same error. I'm using: [sliver:~] gkistner$ ruby -v ruby 1.8.5 (2006-08-25) [powerpc-darwin8.7.0] What version of Ruby are you using that's working for you?