On Dec 25, 2006, at 2:39 PM, Andrea Fazzi wrote:

> Phrogz wrote:
>> 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?
>>
>>
>>
>
> I'm using:
>
> andrea@ganimede:~$ ruby -v
> ruby 1.8.4 (2005-12-24) [powerpc-linux]
>
> Hmm.. why it works for me?? :-)

I'm pretty sure ERb was changed in this recently.

James Edward Gray II