<commit_before># chef hook for eycloud env

if %w(app_master app util).include?(node[:instance_role])
  # prerequire gems for require
  sudo "gem install active_wrapper --version='0.2.4' --no-ri --no-rdoc"
  sudo "gem install rake --version=0.8.7 --no-ri --no-rdoc"
  sudo "gem install rspec --version=1.3.0 --no-ri --no-rdoc"
  sudo "gem install require --no-ri --no-rdoc"
  
  # gems for app
  sudo "rake gems:install SUDO=1 DOCS=0"
end<commit_msg>before migrate hook : add solo to type of servers to run<commit_after># chef hook for eycloud env

if %w(app_master app util solo).include?(node[:instance_role])
  # prerequire gems for require
  sudo "gem install active_wrapper --version='0.2.4' --no-ri --no-rdoc"
  sudo "gem install rake --version=0.8.7 --no-ri --no-rdoc"
  sudo "gem install rspec --version=1.3.0 --no-ri --no-rdoc"
  sudo "gem install require --no-ri --no-rdoc"
  
  # gems for app
  sudo "rake gems:install SUDO=1 DOCS=0"
end
{'fraction_non_alphanumeric': 0.14873417721518986, 'fraction_numerical': 0.023206751054852322, 'mean_word_length': 3.2177777777777776, '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': '322476', 'n_tokens_mistral': 366, 'n_tokens_neox': 350, 'n_words': 110}