J
Julien Palmas
Hi,
I've set my .irbrc file with those line :
require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
but my commands are not saved to .irb-save-history after exiting irb.
my entire .irbrc file can be found here : http://pastie.org/512760
I've dived a bit inside the save-history code and it seems that the
HistorySavingAbility.create_finalizer proc is never called.
The finalizer is set for the main_context @io object : an
IRB::ReadlineInputMethod object
I've googled a lot about irb history but all I could find was the irbrc
setup repeated again and again.
Has anyone had this kind of issue before ?
I've set my .irbrc file with those line :
require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
but my commands are not saved to .irb-save-history after exiting irb.
my entire .irbrc file can be found here : http://pastie.org/512760
I've dived a bit inside the save-history code and it seems that the
HistorySavingAbility.create_finalizer proc is never called.
The finalizer is set for the main_context @io object : an
IRB::ReadlineInputMethod object
I've googled a lot about irb history but all I could find was the irbrc
setup repeated again and again.
Has anyone had this kind of issue before ?