<commit_before>#!/usr/bin/ruby

require './log.rb'

info "install ruby-dev"
`sudo apt-get -y install ruby-dev`

info "install rb-inotify"
`sudo gem install rb-inotify`<commit_msg>update install_ruby.rb to copy to mybin<commit_after>#!/usr/bin/ruby

require_relative './ruby/brlyman/log.rb'

info "install ruby-dev"
Process.wait Process.spawn "sudo apt-get -y install ruby-dev"

info "install rb-inotify"
Process.wait Process.spawn "sudo gem install rb-inotify"

info "install my ruby scripts"
Process.wait Process.spawn "mkdir -p ~/.config/mybin"
Process.wait Process.spawn "cp -r ./ruby/* ~/.config/mybin"
{'fraction_non_alphanumeric': 0.14026402640264027, 'fraction_numerical': 0.0, 'mean_word_length': 4.371681415929204, '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': '6562828', 'n_tokens_mistral': 234, 'n_tokens_neox': 216, 'n_words': 60}