mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
3636e08858
commit
04408eae54
1 changed files with 1 additions and 1 deletions
|
@ -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__), "..") ]
|
||||
|
||||
|
|
Loading…
Reference in a new issue