cocoa talking to ruby