lib/bumbler/bundler.rb in bumbler-0.4.0 vs lib/bumbler/bundler.rb in bumbler-0.5.0
- old
+ new
@@ -39,9 +39,12 @@
::Bundler.environment.current_dependencies.each do |spec|
@gem_state[spec.name] = {}
Array(spec.autorequire || spec.name).each do |path|
+ # Handle explicitly required gems
+ path = spec.name if path == true
+
@require_map[path] = spec.name
@gem_state[spec.name][path] = false
end
Bumbler::Progress.register_item(:bundler, spec.name)