The readline library provides a pure Ruby implementation of the GNU readline C library, as well as the Readline extension that ships as part of the standard library.
Park Heesob, Daniel Berger, Luis Lavena, Mark Somerville
gem "rb-readline", "~> 0.4.2"