{"record":{"id":"a54a614ea8f87993","repo":"ruby/rubygems","slug":"group-group-could-not-be-found","errorCode":null,"errorMessage":"`#{group}` group could not be found.","messagePattern":"`#(.+?)` group could not be found\\.","errorType":"exception","errorClass":"InvalidOption","httpStatus":null,"severity":"error","filePath":"lib/bundler/cli/list.rb","lineNumber":75,"sourceCode":"      Bundler.ui.info({ gems: gems }.to_json)\n    end\n\n    def print_human(specs:)\n      return Bundler.ui.info \"No gems in the Gemfile\" if specs.empty?\n\n      return specs.each {|s| Bundler.ui.info s.name } if @options[\"name-only\"]\n      return specs.each {|s| Bundler.ui.info s.full_gem_path } if @options[\"paths\"]\n\n      Bundler.ui.info \"Gems included by the bundle:\"\n\n      specs.each {|s| Bundler.ui.info \"  * #{s.name} (#{s.version}#{s.git_version})\" }\n\n      Bundler.ui.info \"Use `bundle info` to print more detailed information about a gem\"\n    end\n\n    def verify_group_exists(groups)\n      (@without_group + @only_group).each do |group|\n        raise InvalidOption, \"`#{group}` group could not be found.\" unless groups.include?(group)\n      end\n    end\n\n    def filtered_specs_by_groups\n      definition = Bundler.definition\n      groups = definition.groups\n\n      verify_group_exists(groups)\n\n      show_groups =\n        if @without_group.any?\n          groups.reject {|g| @without_group.include?(g) }\n        elsif @only_group.any?\n          groups.select {|g| @only_group.include?(g) }\n        else\n          groups\n        end.map(&:to_sym)\n","sourceCodeStart":57,"sourceCodeEnd":93,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/bundler/cli/list.rb#L57-L93","documentation":"Error \"`#{group}` group could not be found.\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/bundler/cli/list.rb:75 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"86cbb817a38ce8477b181c17467a703ded3f2be8","analyzedAt":"2026-08-23T06:27:48.159Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}