Closed monfresh closed 3 years ago
It looks like the output from bundle outdated
has changed, and this regex is failing now.
I think this fixes it:
def parse_gem_from(line)
regex = /(.*)\s+(\d[\d\.]*\d)\s+(\d[\d\.]*\d)/.match line
unless regex.nil?
{ name: regex[1].strip, newest: regex[3], installed: regex[2] }
end
end
This is an issue with Bundler 2.2 output, fixed in v0.6.0
gem install bummr
should update/fix.
I'm not sure if this is due to some changes on the Bundler side, but lately, Bummr hasn't been able to detect updates, even with the
--all
option. Here is a run from just now in this repo: https://github.com/codeforamerica/ohana-web-searchUnless I'm misremembering, I'm pretty sure that when a gem that was specified in the Gemfile was outdated, bummr used to be able to detect that. For example, I would expect it to upgrade
google-api-client
, which is specified like this in the Gemfile: