<commit_before>module VagrantPlugins
  module Ventriloquist
    module Cap
      module Linux
        module RvmInstall
          def self.rvm_install(machine)
            if ! machine.communicate.test('test -d /usr/local/rvm')
              machine.env.ui.info('Installing RVM')
              machine.communicate.sudo('\curl -L https://get.rvm.io | bash -s stable --autolibs=enabled')
              machine.communicate.sudo("usermod -a -G rvm #{machine.config.ssh.username}")
            end
          end
        end<commit_msg>Not sure why but this was nil at some point, might be a good idea to default it to vagrant<commit_after>module VagrantPlugins
  module Ventriloquist
    module Cap
      module Linux
        module RvmInstall
          def self.rvm_install(machine)
            if ! machine.communicate.test('test -d /usr/local/rvm')
              machine.env.ui.info('Installing RVM')
              machine.communicate.sudo('\curl -L https://get.rvm.io | bash -s stable --autolibs=enabled')
              machine.communicate.sudo("usermod -a -G rvm #{machine.config.ssh.username || 'vagrant'}")
            end
          end
        end
{'fraction_non_alphanumeric': 0.10173913043478261, 'fraction_numerical': 0.0, 'mean_word_length': 2.0775401069518717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2638811', 'n_tokens_mistral': 346, 'n_tokens_neox': 336, 'n_words': 85}