From: Tron Fu Date: 2010-08-30T23:35:24+09:00 Subject: Re: Broken alias behavior in Ruby 1.9.2? Thanks, Michael. I ended up not using and just reimplemented the base64 encode as [bin].pack("m") Tron Michael Morin wrote: > On 8/29/2010 8:04 PM, Tron Fu wrote: >> Thank you for your reply. However, your suggestion resulted in >> SystemStackError: stack level too deep >> >> I'm guessing that it is not working in 1.9.2 because Base64 is no longer >> included with 1.9 and there is something odd going on with the >> ActiveSupport's version of it. >> >> Tron > > As far as I can tell, 1.9.2 ships with Base64. > > I suspect you're having trouble because of Base64's use of > module_function. This creates copies of the original methods, so it > will be difficult to overload like this. -- Posted via http://www.ruby-forum.com/.