diff options
author | Chris Schlaeger <chris@linux.com> | 2015-09-12 21:54:53 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2015-09-12 21:54:53 +0200 |
commit | b5267c1a8fda1784e5a4892ee227f5e4fb57e804 (patch) | |
tree | bfd1dfea01003f6b8347119f026d31c813b10fda /lib/postrunner.rb | |
parent | 21eddca873d2912e9f5f8ab88c681ce55cbe0c6f (diff) | |
download | postrunner-b5267c1a8fda1784e5a4892ee227f5e4fb57e804.zip |
Adding plumbing to have PEROBS as additional dependency.
Diffstat (limited to 'lib/postrunner.rb')
-rw-r--r-- | lib/postrunner.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/postrunner.rb b/lib/postrunner.rb index 8e79a74..3aeff83 100644 --- a/lib/postrunner.rb +++ b/lib/postrunner.rb @@ -10,7 +10,11 @@ # published by the Free Software Foundation. # -$:.unshift(File.join(File.dirname(__FILE__), '..', '..', 'fit4ruby', 'lib')) +# Some dependencies may not be installed as Ruby Gems but as local sources. +# Add them to the LOAD_PATH. +%w( fit4ruby perobs ).each do |lib_dir| + $:.unshift(File.join(File.dirname(__FILE__), '..', '..', lib_dir, 'lib')) +end $:.unshift(File.dirname(__FILE__)) require 'postrunner/Main' |