<commit_before>require 'fileutils'

src = File.join(File.dirname(__FILE__), 'config', 'odesk.yml')
target = File.join(Rails.root, 'config', 'odesk.yml')
FileUtils.cp src, target unless File.exists?(target)

# Add line to Gemfile if there is a Gemfile to require ruby_desk
gfname = File.join(Rails.root, 'Gemfile')
if File.exists(gfname)
  gf = File.open(gfname, 'a')
  gf.puts("\ngem \'ruby_desk\'")
  gf.close
end
<commit_msg>Testing install script<commit_after>require 'fileutils'

src = File.join(File.dirname(__FILE__), 'config', 'odesk.yml')
target = File.join(Rails.root, 'config', 'odesk.yml')
FileUtils.cp src, target unless File.exists?(target)

# Add line to Gemfile if there is a Gemfile to require ruby_desk
gfname = File.join(Rails.root, 'Gemfile')
puts gfname
if File.exists(gfname)
  gf = File.open(gfname, 'a')
  gf.puts("\ngem \'ruby_desk\'")
  gf.close
end

{'fraction_non_alphanumeric': 0.15314285714285714, 'fraction_numerical': 0.0, 'mean_word_length': 5.125874125874126, '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': '1136274', 'n_tokens_mistral': 347, 'n_tokens_neox': 326, 'n_words': 82}