Ruby extension to readline library 