The problem use Ruby call com method and event

there are some problem when i use ruby call com method and event.
the com programm i use mfc ccmdtarget classs,and i use vb for client
this com’s method and event,it’s ok.
but ruby did not work,why?

this is the error.

nobody help me?