<commit_before>require 'formula'

# TODO de-version the include and lib directories

class Ruby <Formula
  @url='ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz'
  @homepage='http://www.ruby-lang.org/en/'
  @md5='515bfd965814e718c0943abf3dde5494'

  depends_on 'readline'
  
  def install
    system "./configure", "--prefix=#{prefix}",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--enable-shared"
    system "make"
    system "make install"
  end
  
  def skip_clean? path
    # TODO only skip the clean for the files that need it, we didn't get a
    # comment about why we're skipping the clean, so you'll need to figure
    # that out first --mxcl
    true
  end
end
<commit_msg>ruby formula forces gcc, to work around llvm breakage<commit_after>require 'formula'

# TODO de-version the include and lib directories

class Ruby <Formula
  @url='ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz'
  @homepage='http://www.ruby-lang.org/en/'
  @md5='515bfd965814e718c0943abf3dde5494'

  depends_on 'readline'
  
  def install
    ENV.gcc_4_2
    system "./configure", "--prefix=#{prefix}",
                          "--disable-debug",
                          "--disable-dependency-tracking",
                          "--enable-shared"
    system "make"
    system "make install"
  end
  
  def skip_clean? path
    # TODO only skip the clean for the files that need it, we didn't get a
    # comment about why we're skipping the clean, so you'll need to figure
    # that out first --mxcl
    true
  end
end

{'fraction_non_alphanumeric': 0.11728395061728394, 'fraction_numerical': 0.03827160493827161, 'mean_word_length': 2.2355289421157685, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7521409', 'n_tokens_mistral': 574, 'n_tokens_neox': 516, 'n_words': 145}