<commit_before># Sets up rbenv in our environment

_env_languages=(rb pl py nod)

_load_language_path()
{
    local language=$1
    local virtualenv_path="$HOME/.${language}env"
    if [ -d $virtualenv_path ]; then
      pathprepend "$virtualenv_path/bin"
      eval "$(${language}env init -)"
    fi
}

for language in $_env_languages; do
  _load_language_path $language
done<commit_msg>Fix array init of language environments<commit_after># Sets up rbenv in our environment

_env_languages=(rb pl py nod)

_load_language_path()
{
    local language=$1
    local virtualenv_path="$HOME/.${language}env"
    if [ -d $virtualenv_path ]; then
      pathprepend "$virtualenv_path/bin"
      eval "$(${language}env init -)"
    fi
}

for language in "${_env_languages[@]}"; do 
  echo $language
  _load_language_path $language
done
{'fraction_non_alphanumeric': 0.11366384522370013, 'fraction_numerical': 0.0024183796856106408, 'mean_word_length': 4.079754601226994, 'pattern_counts': {'":': 0, '<': 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': '3931522', 'n_tokens_mistral': 273, 'n_tokens_neox': 271, 'n_words': 74}