Emiel van de Laar <emiel / rednode.nl> writes: > Hi List, > > In trying to get rubygems working with 1.9 I ran accross an error > regarding the method "Module#define_method". Investigating further > using the ri documentation I found out that the sample code > (specifically the "send hack") doesn't work anymore with 1.9. > > Can someone give me an indication of how things have changed. Perhaps > then we can update the documentation as well. In current 1.9, #send can't call private methods (unless called without a receiver). Instead #funcall was added to have the functionality that #send used to have. You'll need to use #funcall instead of #send.