<commit_before>Ruby Training
=============

By default, ``teracy-dev`` will not install Ruby when ``$ vagrant up`` to avoid too much provision
time.

Installation
------------

#. Enable ``ruby`` by opening the ``vagrant_config_override.josn`` file and adding or apppending
   the content below:
   ::

    "chef_json":{
        "teracy-dev":{
          "ruby":{
            "enabled":true,
            "globals":[
              {
                "name":"bundle",
                "version":""
              }
            ]
          }    
        }
    }


   .. note ::
    You can see more default configuration at ``vagrant_config.json``.


#. ``$ vagrant reload --provision`` if your VM is already running, or ``$ vagrant up`` if it is not
   running yet.

#. `$ vagrant ssh` and verify if ``ruby`` works:
    ::
    
        $ vagrant ssh
        $ ruby --version
<commit_msg>DEV-120 | Apply comments for Ruby Training<commit_after>Ruby Training
=============

By default, ``teracy-dev`` will not install Ruby when ``$ vagrant up`` to avoid too much provision
time.

Installation
------------

#. Enable ``ruby`` by creating (if not exists) or opening the ``vagrant_config_override.josn`` file
   and adding or apppending the content below:
   ::

    "chef_json":{
        "teracy-dev":{
          "ruby":{
            "enabled":true
          }
        }
    }


   .. note ::
    You can see more default configuration at ``vagrant_config.json``.


#. ``$ vagrant reload --provision`` if your VM is already running, or ``$ vagrant up`` if it is not
   running yet.

#. `$ vagrant ssh` and verify if ``ruby`` works:
    ::

        $ vagrant ssh
        $ ruby --version

{'fraction_non_alphanumeric': 0.15077473182359952, 'fraction_numerical': 0.0017878426698450535, 'mean_word_length': 2.014362657091562, 'pattern_counts': {'":': 11, '<': 3, '<?xml version=': 0, '>': 3, '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': '6777229', 'n_tokens_mistral': 520, 'n_tokens_neox': 473, 'n_words': 163}