<commit_before>require 'fileutils'

here = File.dirname(__FILE__)
there = defined?(RAILS_ROOT) ? RAILS_ROOT : "#{here}/../../.."

FileUtils.mkdir_p("#{there}/public/javascripts/uploadify/")

puts "Installing Uploadify..."
FileUtils.cp_r("#{here}/public/javascripts/uploadify/", "#{there}/public/javascripts/uploadify/")
FileUtils.cp("#{here}/public/images/cancel.png", "#{there}/public/images/")

puts "================================Installation Complete!==========================================="

puts IO.read(File.join(File.dirname(__FILE__), '../README.rdoc'))<commit_msg>revised install script.<commit_after>require 'fileutils'

here = File.dirname(__FILE__)
there = defined?(RAILS_ROOT) ? RAILS_ROOT : "#{here}/../../.."

puts "Installing Uploadify..."
FileUtils.cp_r("#{here}/public/javascripts/uploadify/", "#{there}/public/javascripts/")
FileUtils.cp("#{here}/public/images/cancel.png", "#{there}/public/images/")

puts "================================Installation Complete!==========================================="

puts IO.read(File.join(File.dirname(__FILE__), '../README.rdoc'))
{'fraction_non_alphanumeric': 0.3221110100090992, 'fraction_numerical': 0.0, 'mean_word_length': 6.857142857142857, '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': '2695467', 'n_tokens_mistral': 343, 'n_tokens_neox': 335, 'n_words': 44}