Skip to content

Commit b5952ab

Browse files
Remove Gem.try_activate usage
1 parent f8fa4d4 commit b5952ab

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/irb/locale.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ def search_file(lib_paths, dir, file)
118118
full_path = File.join(libpath, lc_path)
119119
return full_path if File.readable?(full_path)
120120
end
121-
redo if defined?(Gem) and Gem.try_activate(lc_path)
122121
end
123122
nil
124123
end

0 commit comments

Comments
 (0)