<commit_before># Copyright 2006-2008 by <NAME>. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 

  namespace :deprec do
    namespace :ruby do
            
      SRC_PACKAGES[:ruby] = {
        :filename => 'ruby-1.8.6-p110.tar.gz',   
        :md5sum => "5d9f903eae163cda2374ef8fdba5c0a5  ruby-1.8.6-p110.tar.gz", 
        :dir => 'ruby-1.8.6-p110',  
        :url => "ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p110.tar.gz",
        :unpack => "tar zxf ruby-1.8.6-p110.tar.gz;",
        :configure => %w(
          ./configure
          --with-readline-dir=/usr/local
          ;
          ).reject{|arg| arg.match '#'}.join(' '),
        :make => 'make;',
        :install => 'make install;'
      }
  
      task :install do
        install_deps
        deprec2.download_src(SRC_PACKAGES[:ruby], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:ruby], src_dir)
      end
      
      task :install_deps do
        apt.install( {:base => %w(zlib1g-dev libssl-dev libncurses5-dev libreadline5-dev)}, :stable )
      end

    end
  end
  
  
  namespace :deprec do
    namespace :rubygems do
  
      SRC_PACKAGES[:rubygems] = {
        :filename => 'rubygems-1.0.1.tgz',   
        :md5sum => "0d5851084955c327ee1dc9cbd631aa5f  rubygems-1.0.1.tgz", 
        :dir => 'rubygems-1.0.1',  
        :url => "http://rubyforge.org/frs/download.php/29548/rubygems-1.0.1.tgz",
        :unpack => "tar zxf rubygems-1.0.1.tgz;",
        :install => 'ruby setup.rb;'
      }
      
      task :install do
        install_deps<commit_msg>Upgrade to rubygems 1.2.0 - addresses memory utilization issues on low-memory boxes (half-gig or less)<commit_after># Copyright 2006-2008 by <NAME>. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 

  namespace :deprec do
    namespace :ruby do
            
      SRC_PACKAGES[:ruby] = {
        :filename => 'ruby-1.8.6-p110.tar.gz',   
        :md5sum => "5d9f903eae163cda2374ef8fdba5c0a5  ruby-1.8.6-p110.tar.gz", 
        :dir => 'ruby-1.8.6-p110',  
        :url => "ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p110.tar.gz",
        :unpack => "tar zxf ruby-1.8.6-p110.tar.gz;",
        :configure => %w(
          ./configure
          --with-readline-dir=/usr/local
          ;
          ).reject{|arg| arg.match '#'}.join(' '),
        :make => 'make;',
        :install => 'make install;'
      }
  
      task :install do
        install_deps
        deprec2.download_src(SRC_PACKAGES[:ruby], src_dir)
        deprec2.install_from_src(SRC_PACKAGES[:ruby], src_dir)
      end
      
      task :install_deps do
        apt.install( {:base => %w(zlib1g-dev libssl-dev libncurses5-dev libreadline5-dev)}, :stable )
      end

    end
  end
  
  
  namespace :deprec do
    namespace :rubygems do
  
      SRC_PACKAGES[:rubygems] = {
        :filename => 'rubygems-1.2.0.tgz',   
        :md5sum => "b77a4234360735174d1692e6fc598402  rubygems-1.2.0.tgz", 
        :dir => 'rubygems-1.2.0',  
        :url => "http://rubyforge.org/frs/download.php/38646/rubygems-1.2.0.tgz",
        :unpack => "tar zxf rubygems-1.2.0.tgz;",
        :install => 'ruby setup.rb;'
      }
      
      task :install do
        install_deps
{'fraction_non_alphanumeric': 0.15463278586922838, 'fraction_numerical': 0.06662534862101023, 'mean_word_length': 2.028142589118199, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5418487', 'n_tokens_mistral': 1366, 'n_tokens_neox': 1218, 'n_words': 194}