lib/rbbt/resource/util.rb in rbbt-util-5.37.8 vs lib/rbbt/resource/util.rb in rbbt-util-5.37.9
- old
+ new
@@ -1,7 +1,7 @@
module Path
- def self.caller_lib_dir(file = nil, relative_to = ['lib', 'bin'])
+ def self.caller_lib_dir(file = nil, relative_to = ['lib', 'bin', 'workflow.rb'])
#file = caller.reject{|l|
# l =~ /rbbt\/(?:resource\.rb|workflow\.rb)/ or
# l =~ /rbbt\/resource\/path\.rb/ or
# l =~ /rbbt\/persist.rb/ or
# l =~ /rbbt\/util\/misc\.rb/ or