Add defined? check for defining PROJECT_ROOT to suppress warnings
This commit is contained in:
parent
1288b229d1
commit
e77c780e0d
|
@ -1,6 +1,6 @@
|
|||
libdir = File.dirname(__FILE__)
|
||||
$:.unshift(libdir)
|
||||
PROJECT_ROOT = File.join(libdir, '..')
|
||||
PROJECT_ROOT = File.join(libdir, '..') unless defined?(PROJECT_ROOT)
|
||||
|
||||
# The libs which must be loaded prior to the rest
|
||||
%w{ftools json pathname logger virtualbox net/ssh
|
||||
|
|
Loading…
Reference in New Issue