You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.
gemsurance-0.10.0/lib/gemsurance/gem_info_retriever.rb:122:in block in retrieve': undefined method index' for #<Bundler::Definition:0x000056301356c6a8> (NoMethodError)
Looking at the file lib/bundler/definition.rb for bundler version 2.2.29, I found no definition of method index. The method is present in older versions of bundler.
Running bundle _2.1.4_ exec gemsurance produced the desired output, the file gemsurance_report.html
The text was updated successfully, but these errors were encountered:
bluciam
changed the title
Error: in block in retrieve': undefined method index' for #<Bundler::Definition
Error: in 'block in retrieve': undefined method 'index' for #<Bundler::Definition
Oct 25, 2021
Looks like the Bundler::Definition#index method shouldn't have been used in the first place. Unfortunate that a patch bump breaks this gem. Can likely be replace with:
Running
gemsurance
produces the error:gemsurance-0.10.0/lib/gemsurance/gem_info_retriever.rb:122:in
block in retrieve': undefined methodindex' for #<Bundler::Definition:0x000056301356c6a8> (NoMethodError)
The bundler version is at
2.2.29
as specified in the dependency list in https://rubygems.org/gems/gemsurance/versions/0.10.0/dependencies:Looking at the file
lib/bundler/definition.rb
forbundler
version2.2.29
, I found no definition of methodindex
. The method is present in older versions ofbundler
.Running
bundle _2.1.4_ exec gemsurance
produced the desired output, the filegemsurance_report.html
The text was updated successfully, but these errors were encountered: