<commit_before>#patched my rail3-maven-plugin to allow custom Gemfile names
require 'rubygems'

if defined?(JRUBY_VERSION)
  require 'java'
  ENV['BUNDLE_GEMFILE'] ||= java.lang.System.getProperty("bundle.gemfile")
  gemfile = ENV['BUNDLE_GEMFILE'].to_s
  File.delete(gemfile + ".lock") if File.exist?(gemfile + ".lock")
end

# Set up gems listed in the Gemfile.<commit_msg>remove bug from using it with MRI<commit_after>#patched my rail3-maven-plugin to allow custom Gemfile names
require 'rubygems'

gemfile = ''
if defined?(JRUBY_VERSION)
  require 'java'
  ENV['BUNDLE_GEMFILE'] ||= java.lang.System.getProperty("bundle.gemfile")
  gemfile = ENV['BUNDLE_GEMFILE'].to_s
  File.delete(gemfile + ".lock") if File.exist?(gemfile + ".lock")
end

# Set up gems listed in the Gemfile.
{'fraction_non_alphanumeric': 0.13444302176696543, 'fraction_numerical': 0.002560819462227913, 'mean_word_length': 5.306451612903226, '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': '3994104', 'n_tokens_mistral': 282, 'n_tokens_neox': 282, 'n_words': 68}