From 04408eae5471b6b065fb72d76d867f121cd5a550 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 16 Aug 2014 03:48:21 +0000 Subject: rake/backtrace.rb: remove wrong value * lib/rake/backtrace.rb (Rake::Backtrace::SYS_KEYS): only names end with prefix or libdir, not just include them. libdirname is not a key of path name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rake/backtrace.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rake/backtrace.rb b/lib/rake/backtrace.rb index 439255d78b..c9b0a7c089 100644 --- a/lib/rake/backtrace.rb +++ b/lib/rake/backtrace.rb @@ -1,6 +1,6 @@ module Rake module Backtrace # :nodoc: all - SYS_KEYS = RbConfig::CONFIG.keys.grep(/(prefix|libdir)/) + SYS_KEYS = RbConfig::CONFIG.keys.grep(/(?:prefix|libdir)\z/) SYS_PATHS = RbConfig::CONFIG.values_at(*SYS_KEYS).uniq + [ File.join(File.dirname(__FILE__), "..") ] -- cgit v1.2.3