Fixes #4162 - native readline replaced with rb-readline

Please test with ruby versions 1.8, 1.9 and 2.0