I also tried with the following: 

bin/irb -rirb/ext/save-history

But with the same outcome. 


On Thursday, 10 January, 2013 at 1:09 PM, zzak (Zachary Scott) wrote:

> 
> Issue #7679 has been updated by zzak (Zachary Scott).
> 
> Status changed from Open to Assigned
> 
> 
> ----------------------------------------
> Bug #7679: IRB history is broken
> https://bugs.ruby-lang.org/issues/7679#change-35322
> 
> Author: zzak (Zachary Scott)
> Status: Assigned
> Priority: Normal
> Assignee: keiju (Keiju Ishitsuka)
> Category: lib
> Target version: 2.0.0
> ruby -v: 2.0.0
> 
> 
> steps to reproduce:
> $ irb
> irb(main):001:> 1 + 2
> => 3
> irb(main):002:0> exit
> $ irb
> irb(main):001:0> *up arrow* nothing
> 
> I should see at least "1 + 2" when I hit the up arrow.
> 
> Using: ruby 2.0.0dev (2012-12-30 trunk 38663) [x86_64-linux]
> 
> Also confirmed on: ruby 2.0.0dev (2013-01-07 trunk 38734) [x86_64-darwin12.2.0]
> 
> 
> -- 
> http://bugs.ruby-lang.org/
> 
>