gem_box 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gem_box/version.rb +1 -1
- data/lib/gem_box.rb +5 -4
- metadata +1 -1
data/lib/gem_box/version.rb
CHANGED
data/lib/gem_box.rb
CHANGED
@@ -31,11 +31,12 @@ module GemBox
|
|
31
31
|
|
32
32
|
# Load libs..
|
33
33
|
[gem_box].flatten.each do |gem_lib|
|
34
|
+
# Push onto load path if we have a local copy
|
34
35
|
gem_lib_dir = root_dir+"/"+gem_lib+"/lib"
|
35
|
-
if File.exists?(gem_lib_dir)
|
36
|
-
|
37
|
-
|
38
|
-
|
36
|
+
$:.unshift gem_lib_dir if File.exists?(gem_lib_dir)
|
37
|
+
|
38
|
+
# Require lib
|
39
|
+
require gem_lib
|
39
40
|
end
|
40
41
|
end
|
41
42
|
|