You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: base_generator.rb
    path of file: ./repos/boring_generators/lib/generators/boring/overcommit
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'bundler'

module Boring
  module 
    
      def add_overcommit_gem
        say "Adding overcommit gem", :green

        if overcommit_gem_exists?
          say "Overcommit gem is already installed!", :yellow
        else
          Bundler.with_unbundled_env do
            run "bundle add overcommit --group development,test"
          end
        end