add readline to gem