Bundler: find which gem depends on this?

bundler, dependencies, dependency-management, ruby, rubygems

Solution

You could try looking inside your Gemfile.lock file. Dependencies are nested underneath what they are required by.

Problem

The backports library is installed when I run `bundle install` but I don't know which gem requires this - is there a way to get bundler to tell me this, or is there some other way to find this out? I need it to be some other way than `bundle viz` as I get errors on running that.

Original source