{"action":"opened","issue":{"url":"https://api.github.com/repos/pry/pry/issues/1394","labels_url":"https://api.github.com/repos/pry/pry/issues/1394/labels{/name}","comments_url":"https://api.github.com/repos/pry/pry/issues/1394/comments","events_url":"https://api.github.com/repos/pry/pry/issues/1394/events","html_url":"https://github.com/pry/pry/issues/1394","id":61065130,"number":1394,"title":"`.pry_history` not read in when using Ruby version 2.2.1","user":{"login":"mecampbellsoup","id":2043821,"avatar_url":"https://avatars.githubusercontent.com/u/2043821?v=3","gravatar_id":"","url":"https://api.github.com/users/mecampbellsoup","html_url":"https://github.com/mecampbellsoup","followers_url":"https://api.github.com/users/mecampbellsoup/followers","following_url":"https://api.github.com/users/mecampbellsoup/following{/other_user}","gists_url":"https://api.github.com/users/mecampbellsoup/gists{/gist_id}","starred_url":"https://api.github.com/users/mecampbellsoup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mecampbellsoup/subscriptions","organizations_url":"https://api.github.com/users/mecampbellsoup/orgs","repos_url":"https://api.github.com/users/mecampbellsoup/repos","events_url":"https://api.github.com/users/mecampbellsoup/events{/privacy}","received_events_url":"https://api.github.com/users/mecampbellsoup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-13T13:36:23Z","updated_at":"2015-03-13T13:36:23Z","closed_at":null,"body":"Using `2.1.4`, you can see reverse history search works (note the `bck` prompt, indicated I'm in a reverse history search process):\r\n```\r\nmatthewcampbell@Matthews-MacBook-Pro:~|\r\n⇒  rbenv local 2.1.4\r\nmatthewcampbell@Matthews-MacBook-Pro:~|\r\n⇒  pry\r\nno awesome_print :(\r\ninput> matt.trips\r\nbck:trips\r\n```\r\n\r\nUsing `2.2.0`, history/reverse search still functional:\r\n```\r\nmatthewcampbell@Matthews-MacBook-Pro:~|\r\n⇒  rbenv local 2.2.0\r\nmatthewcampbell@Matthews-MacBook-Pro:~|\r\n⇒  pry\r\nno awesome_print :(\r\ninput> Ticket.whaled.count                                                                                                                                     bck:Ticket\r\n```\r\nNow, using `2.2.1` and searching once again for the string \"Ticket\", history breaks:\r\n```\r\nmatthewcampbell@Matthews-MacBook-Pro:~|\r\n⇒  rbenv local 2.2.1\r\nmatthewcampbell@Matthews-MacBook-Pro:~|\r\n⇒  pry\r\nno awesome_print :(\r\ninput>                                                                                                                                                         bck?Ticket\r\n```"}}