mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- clarify why we're doing a regexp match on the exception message
This commit is contained in:
parent
56679a182c
commit
ce919b6127
1 changed files with 10 additions and 0 deletions
10
gembag.rb
10
gembag.rb
|
@ -47,6 +47,16 @@ deps.each do |dep|
|
||||||
# Not installed, continue.
|
# Not installed, continue.
|
||||||
message = e.to_s
|
message = e.to_s
|
||||||
|
|
||||||
|
# Sometimes we failed to load because gembag installs too
|
||||||
|
# many things. Like 'shoulda' fails to load because two
|
||||||
|
# conflicting versions of 'mocha' were installed.
|
||||||
|
# Fundamentally, gembag should build a dependency graph and
|
||||||
|
# resolve all version requirements to single nodes to prevent
|
||||||
|
# this madness.
|
||||||
|
#
|
||||||
|
# Possible we can steal bundler's implementation of this,
|
||||||
|
# or just use bundler to do it, but only if bundler doesn't
|
||||||
|
# bite me in the ass again :)
|
||||||
case message
|
case message
|
||||||
when /Unable to activate/
|
when /Unable to activate/
|
||||||
puts "Gem found, but funky: #{dep} (#{e})"
|
puts "Gem found, but funky: #{dep} (#{e})"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue