delete require 'rb-readline' from lib/pry.rb . When use gem rb-readline, require 'readline' not 'rb-readline'.
Merge pull request #1062 from yui-knk/change-require-readline

delete require 'rb-readline' from lib/pry.rb . When use gem rb-readline,...