[rubygems/rubygems] Removed duplicated dependencies that used by bundler inline
https://github.com/rubygems/rubygems/commit/d46b6a49af
This commit is contained in:
parent
3725c388f8
commit
a5d658cb7a
@ -71,6 +71,7 @@ def gemfile(install = false, options = {}, &gemfile)
|
||||
"The #{name} gem was resolved to #{version}, but #{activated_version} was activated by Bundler while installing it, causing a conflict. " \
|
||||
"Bundler will now retry resolving with #{activated_version} instead."
|
||||
|
||||
builder.dependencies.delete_if {|d| d.name == name }
|
||||
builder.instance_eval { gem name, activated_version }
|
||||
definition = builder.to_definition(nil, true)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user