javagems 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/javagems.gemspec +1 -1
- data/lib/javagems/classpath_builder.rb +4 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.8
|
data/javagems.gemspec
CHANGED
@@ -9,8 +9,10 @@ module JavaGems
|
|
9
9
|
bundler_env = Bundler::Environment.load(gemfile)
|
10
10
|
deps = bundler_env.dependencies.map {|dep| dep.to_gem_dependency }
|
11
11
|
cp = Bundler::Resolver.resolve(deps, sources).collect do |spec|
|
12
|
-
|
13
|
-
|
12
|
+
spec.require_paths.collect do |req_path|
|
13
|
+
(Pathname(spec.full_gem_path) + req_path).expand_path.to_s
|
14
|
+
end
|
15
|
+
end.flatten.join(File::PATH_SEPARATOR)
|
14
16
|
end
|
15
17
|
|
16
18
|
rescue => e
|