lib/bundler/source/git.rb in bundler-1.12.0.pre.1 vs lib/bundler/source/git.rb in bundler-1.12.0.pre.2
- old
+ new
@@ -220,9 +220,13 @@
@allow_remote || @allow_cached
end
private
+ def build_extensions(installer)
+ super if Bundler.rubygems.spec_missing_extensions?(installer.spec)
+ end
+
def serialize_gemspecs_in(destination)
expanded_path = destination.expand_path(Bundler.root)
Dir["#{expanded_path}/#{@glob}"].each do |spec_path|
# Evaluate gemspecs and cache the result. Gemspecs
# in git might require git or other dependencies.