summaryrefslogtreecommitdiff
path: root/lib/rubygems/core_ext
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-11-13 15:04:49 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-11-13 15:04:49 +0900
commitd336db6568cc96dfee503c053e8f444dc7243858 (patch)
tree48a0a195df7d9d1e083ea4d5a44dde3b7007184b /lib/rubygems/core_ext
parent68ea892daf6e4073919d58ae83c7ff7389fbf184 (diff)
Fix a typo
Diffstat (limited to 'lib/rubygems/core_ext')
-rw-r--r--lib/rubygems/core_ext/kernel_require.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/core_ext/kernel_require.rb b/lib/rubygems/core_ext/kernel_require.rb
index 76165a6..60f4d18 100644
--- a/lib/rubygems/core_ext/kernel_require.rb
+++ b/lib/rubygems/core_ext/kernel_require.rb
@@ -46,7 +46,7 @@ module Kernel
$LOAD_PATH[0...Gem.load_path_insert_index || -1].each do |lp|
safe_lp = lp.dup.tap(&Gem::UNTAINT)
begin
- if File.symlink? safe_lp # for backword compatibility
+ if File.symlink? safe_lp # for backward compatibility
next
end
rescue SecurityError