* lib/irb/locale.rb (IRB::Locale::#search_file):
Gem might be undefined if --disable-gems. [ruby-core:34990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
48de1e292a
commit
9a89f325e4
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jan 31 14:45:47 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||||
|
|
||||||
|
* lib/irb/locale.rb (IRB::Locale::#search_file):
|
||||||
|
Gem might be undefined if --disable-gems. [ruby-core:34990]
|
||||||
|
|
||||||
Mon Jan 31 12:26:14 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
Mon Jan 31 12:26:14 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* addr2line.c: suppressed shorten-64-to-32 warnings.
|
* addr2line.c: suppressed shorten-64-to-32 warnings.
|
||||||
|
@ -147,7 +147,7 @@ module IRB
|
|||||||
full_path = File.join(libpath, lc_path)
|
full_path = File.join(libpath, lc_path)
|
||||||
return full_path if File.readable?(full_path)
|
return full_path if File.readable?(full_path)
|
||||||
end
|
end
|
||||||
redo if Gem.try_activate(lc_path)
|
redo if defined?(Gem) and Gem.try_activate(lc_path)
|
||||||
end
|
end
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user