https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1709775478
2012-05-21T19:24:17Z
Ruby Issue Tracking System
Ruby master - Bug #6455: IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する
https://bugs.ruby-lang.org/issues/6455?journal_id=26737
2012-05-21T19:24:17Z
mame (Yusuke Endoh)
mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li></ul>
Ruby master - Bug #6455: IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する
https://bugs.ruby-lang.org/issues/6455?journal_id=35062
2012-12-25T21:08:38Z
keiju (Keiju Ishitsuka)
keiju@ishitsuka.com
<ul></ul><p>sho-h (Sho Hashimoto) wrote:</p>
<blockquote>
<p>$ irb<br>
/usr/lib/ruby/1.8/irb/ext/save-history.rb:77:in <code>exist?': can't convert nil into String (TypeError) from /usr/lib/ruby/1.8/irb/ext/save-history.rb:77:in </code>load_history'</p>
<p>IRB.rc_file("_history") が nil を返すようになるためではないかと思います。</p>
</blockquote>
<p>この件ですが、RC_NAME_GENARATOR を間違って定義している(正しいファイル名を生成しないでnilを返す)ために発生しています。<br>
文字列を返さなければ、例外を発生することにしました。</p>
Ruby master - Bug #6455: IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する
https://bugs.ruby-lang.org/issues/6455?journal_id=35063
2012-12-25T21:16:12Z
keiju (Keiju Ishitsuka)
keiju@ishitsuka.com
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r38600.<br>
Sho, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>lib/irb/init.rb, lib/irb/lc/ja/error.rb, lib/irb/lc/error.rb:<br>
raise exception when illegal RC_NAME_GENARATOR defined [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する (Closed)" href="https://bugs.ruby-lang.org/issues/6455">#6455</a>].</li>
</ul>