How can a person use Ruby to control a robot or some other robotic device?
I think Arduino is becoming popular for creating electronic devices that can be controlled by computers. It seems you can use a gem called serialport ( http://playground.arduino.cc/interfacing/ruby ) to control it in Ruby.
serialport