diff --git a/common/lib/dependabot/errors.rb b/common/lib/dependabot/errors.rb index 41069a15f1..9b80a36e66 100644 --- a/common/lib/dependabot/errors.rb +++ b/common/lib/dependabot/errors.rb @@ -316,6 +316,11 @@ def self.updater_error_details(error) "error-type": "git_token_auth_error", "error-detail": { message: error.message } } + when Dependabot::Bundler::FileUpdater::RubyRequirementSetter::RubyVersionNotFound + { + "error-type": "ruby_version_not_found", + "error-detail": { message: error.message } + } when *Octokit::RATE_LIMITED_ERRORS # If we get a rate-limited error we let dependabot-api handle the # retry by re-enqueing the update job after the reset