<commit_before>version: 2.1

environment: &environment
  LANG:     en_US.UTF-8
  LANGUAGE: en_US.UTF-8
  LC_ALL:   C.UTF-8

  BUNDLE_PATH: vendor/bundle
  CC_TEST_REPORTER_ID: 377596024a4c6f3c4c4b9a0cd16add92fb5e7f716663629b5efd080377c0b838

executors:
  ruby:
    docker:
      - image: circleci/ruby:2.1
        environment:
          <<: *environment

    working_directory: /home/circleci/app

  oracle:
    docker:
      - image: wnameless/oracle-xe-11g:16.04
        environment:
          <<: *environment
          DATABASE: oracle

          ORACLE_HOME: /u01/app/oracle/product/11.2.0/xe
          ORACLE_SID: XE
          ORACLE_SYSTEM_PASSWORD: <PASSWORD>
          NLS_LANG: AMERICAN_AMERICA.UTF8

    working_directory: /home/circleci/app

commands:
  setup_bundle:
    description: "Setup bundle with cache"

    parameters:
      bundle_without:
        type: string

    steps:
      - restore_cache:
          keys:
            - v3-bundle-{{ .Environment.CIRCLE_JOB }}-{{ epoch }}
            - v3-bundle-{{ .Environment.CIRCLE_JOB }}

      - run:
          name: Setup
          command: |
            set -xe
            gem install bundler --no-document

            ruby --version
            bundle --version
            gem --version

            bundle check || bundle install --jobs=4 --without << parameters.bundle_without >> --path=${BUNDLE_PATH:-vendor/bundle}
            bundle clean
<commit_msg>Fixed. can not install bundler v2<commit_after>version: 2.1

environment: &environment
  LANG:     en_US.UTF-8
  LANGUAGE: en_US.UTF-8
  LC_ALL:   C.UTF-8

  BUNDLE_PATH: vendor/bundle
  CC_TEST_REPORTER_ID: 377596024a4c6f3c4c4b9a0cd16add92fb5e7f716663629b5efd080377c0b838

executors:
  ruby:
    docker:
      - image: circleci/ruby:2.1
        environment:
          <<: *environment

    working_directory: /home/circleci/app

  oracle:
    docker:
      - image: wnameless/oracle-xe-11g:16.04
        environment:
          <<: *environment
          DATABASE: oracle

          ORACLE_HOME: /u01/app/oracle/product/11.2.0/xe
          ORACLE_SID: XE
          ORACLE_SYSTEM_PASSWORD: <PASSWORD>
          NLS_LANG: AMERICAN_AMERICA.UTF8

    working_directory: /home/circleci/app

commands:
  setup_bundle:
    description: "Setup bundle with cache"

    parameters:
      bundle_without:
        type: string

    steps:
      - restore_cache:
          keys:
            - v3-bundle-{{ .Environment.CIRCLE_JOB }}-{{ epoch }}
            - v3-bundle-{{ .Environment.CIRCLE_JOB }}

      - run:
          name: Setup
          command: |
            set -xe
            gem update --system --no-document
            gem install bundler --no-document

            ruby --version
            bundle --version
            gem --version

            bundle check || bundle install --jobs=4 --without << parameters.bundle_without >> --path=${BUNDLE_PATH:-vendor/bundle}
            bundle clean

{'fraction_non_alphanumeric': 0.09849521203830369, 'fraction_numerical': 0.04480164158686731, 'mean_word_length': 1.9075546719681908, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '192353', 'n_tokens_mistral': 1059, 'n_tokens_neox': 956, 'n_words': 181}