diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-16 03:56:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-16 03:56:17 +0000 |
commit | d0f71e5072195d4efaf90a0e14598cdc0f858887 (patch) | |
tree | dfaf82bc1cee5abfc868dac101d89d25e4e746e7 /lib/rake/backtrace.rb | |
parent | 04408eae5471b6b065fb72d76d867f121cd5a550 (diff) | |
download | ruby-d0f71e5072195d4efaf90a0e14598cdc0f858887.tar.gz |
rake/backtrace.rb: exclude mere prefix
* lib/rake/backtrace.rb (Rake::Backtrace): exclude mere prefix and
exec_prefix, which match too much.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rake/backtrace.rb')
-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 c9b0a7c089..dc18773436 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)\z/) + SYS_KEYS = RbConfig::CONFIG.keys.grep(/(?:[a-z]prefix|libdir)\z/) SYS_PATHS = RbConfig::CONFIG.values_at(*SYS_KEYS).uniq + [ File.join(File.dirname(__FILE__), "..") ] |