What id dRuby
dRuby is a distributed object system for Ruby. It does not rely on or interoperate with other distributed object systems such as CORBA, RMI, or .NET. dRuby allows methods to be called in one Ruby process upon a Ruby object located in another Ruby process, even on another machine.
Exploit
use exploit/linux/misc/drb_remote_codeexec