https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112011-01-31T05:37:51ZRuby Issue Tracking SystemRuby master - Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variablehttps://bugs.ruby-lang.org/issues/4345?journal_id=156112011-01-31T05:37:51Zheadius (Charles Nutter)headius@headius.com
<ul></ul><p>=begin<br>
IRB's localization support appears to try using RubyGems to load the localized file?</p>
<p>This was the commit that added it. Does not appear to exist in 1.9.2:</p>
<p>commit 09aefc43a54bff5c27c856de71af4d18e9223d59<br>
Author: yugui <a href="mailto:yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e" class="email">yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</a><br>
Date: Wed Jan 5 01:13:12 2011 +0000</p>
<pre><code> * lib/irb/locale.rb (IRB::Locale#search_file): make it possible
to load a localization from a gem.
(IRB::Locale#lc_path): obsoleted because of the change of #search_file
(IRB::Locale#each_localized_path): new private method, based on lc_path
(IRB::Locale#find): follows the change of #search_file.
(IRB::Locale#load): removed duplicate with #find.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</code></pre>
<p>=end</p> Ruby master - Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variablehttps://bugs.ruby-lang.org/issues/4345?journal_id=156232011-01-31T14:30:00Zyugui (Yuki Sonoda)yugui@yugui.jp
<ul><li><strong>Assignee</strong> set to <i>yugui (Yuki Sonoda)</i></li></ul><p>=begin</p>
<p>=end</p> Ruby master - Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variablehttps://bugs.ruby-lang.org/issues/4345?journal_id=156242011-01-31T14:47:05Zyugui (Yuki Sonoda)yugui@yugui.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>=begin<br>
This issue was solved with changeset r30741.<br>
Luis, 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/locale.rb (IRB::Locale::#search_file):<br>
Gem might be undefined if --disable-gems. <a href="/issues/4345">[ruby-core:34990]</a><br>
=end</li>
</ul>