bundle_report
may confuse local private gem with remote public gem
#29
Labels
bug
Something isn't working
Description
I came accross this in a project where I had to upgrade rails from 5.2 to 6.1 and it had a private gem called
app_store
.The issue may come up if there is a gem with the same name in the public source, in this case, rubygems.
If you go to rubygems you will find an
app_store
gem there. Here's the githubIn this specific case, if I ran
bundle_report
, it would say:Which has no version restriction on rails and has not been updated in 12 years. The actual gem being used was in the
engines/
folder of the project, which did have a restriction on rails and had to be altered to accept rails 6.1.Expected behavior
bundle_report
should've grouped this gem with the other private gems as having no new version found for it. Maybe, ideally, be able to tell that it is a private gem and suggest it's gemspec be updated?Steps to reproduce
I've not tested this with other gems, but I'd try:
gem 'gem_with_same_name_as_some_remote_gem', path: '/local/path'
bundle install
and then runbundle_report
.The text was updated successfully, but these errors were encountered: