<commit_before>#!/bin/bash

ruby_version=`cat ~/.ruby-version`
if [[ ! -d ~/.rubies/$ruby_version ]]; then
    ruby-install $ruby_version
    ~/.rubies/$ruby_version/bin/gem install bundler
fi
<commit_msg>More reliably check for existing Ruby install<commit_after>#!/bin/bash

ruby_version=`cat ~/.ruby-version`
ruby-install --no-reinstall $ruby_version
for ruby in ~/.rubies/$ruby_version*; do
  $ruby/bin/gem install bundler
done

{'fraction_non_alphanumeric': 0.14814814814814814, 'fraction_numerical': 0.0, 'mean_word_length': 4.481012658227848, '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': '7424057', 'n_tokens_mistral': 166, 'n_tokens_neox': 145, 'n_words': 34}