gem_box 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
|