diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-16 03:48:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-16 03:48:21 +0000 |
commit | 04408eae5471b6b065fb72d76d867f121cd5a550 (patch) | |
tree | 7df790d76d013a1d1a57e9063a5c996ea0b287d4 /lib | |
parent | 3636e08858f62050b610b1eaa2f0d9d7a158a612 (diff) |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rake/backtrace.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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__), "..") ] |