lib/autoproj/package_managers/bundler_manager.rb in autoproj-2.0.0.rc23 vs lib/autoproj/package_managers/bundler_manager.rb in autoproj-2.0.0.rc24
- old
+ new
@@ -206,10 +206,12 @@
contents << " platform :#{platform_name} do"
platform_indent = " "
end
deps.each do |d|
if d.source
- options = d.source.options.map { |k, v| "#{k}: \"#{v}\"" }
+ options = d.source.options.dup
+ options.delete 'root_path'
+ options = options.map { |k, v| "#{k}: \"#{v}\"" }
end
contents << [" #{platform_indent}gem \"#{d.name}\", \"#{d.requirement}\"", *options].join(", ")
end
if !platform_name.empty?
contents << " end"