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: setup.rb
    path of file: ./repos/rails7-startkit/Rails7StartKit/bin
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# rubocop:disable Metrics/AbcSize
# rubocop:disable Metrics/MethodLeng
    
    def setup!
      FileUtils.chdir APP_ROOT do
        check_docker!
        check_docker_running!
        check_docker_compose_v2!

        rails7_startkit_greetings!

        step_info 'Pull all required Images'
        docker_compose('pull')
        step_info_new_line

        # Mailcatcher
        if development?
          step_info 'Launching Mailcatcher Container'
          docker_compose('up mailcatcher -d')
          wait('to launch Mailcatcher Container')
        end

        # PgSQL
        remove_file('db/PGSQL/.keep')
        step_info 'Launching PgSQL Container'
        docker_compose('up psql -d')
        wait('to initialize PgSQL database')
        touch_file('db/PGSQL/.keep')

        # Redis
        step_info 'Launching Redis Container'
        docker_compose('up redis -d')
        wait('to launch Redis Container')

        # Rails
        step_info 'Launching Rails Container'
        docker_compose('up rails -d')
        wait('to launch Rails Container')
        step_info_new_line

        # ElasticSearch
        step_info 'Launching ElasticSearch Container'
        set_permissions_for_elastic
        docker_compose('up elastic -d')
        wait('to launch ElasticSearch Container')

        step_info 'Correcting Permissions for Linux'
        set_lucky_permissions

        step_info 'Installing Gems'
        rails_install_gems

        step_info 'Turn off some ElasticSearch settings'
        turn_off_elastic_settings

        step_info 'Prepare Database (Create, Migrate, Create Seeds)'
        rails_db_prepare

        step_info 'Indexing Article Model'
        chewy_index

        step_info_new_line

        if development?
          step_info 'Quality: Rubocop'
          rubocop

          step_info 'Quality: RSpec with SimpleConv'
          rspec_with_cov

          step_info 'Quality: Breakman'
          breakman

          step_info_new_line
        end