<commit_before># If you use gems that require environment variables to be set before they are
# loaded, then list `dotenv-rails` in the `Gemfile` before those other gems and
# require `dotenv/rails-now`.
#
#     gem "dotenv-rails", :require => "dotenv/rails-now"
#     gem "gem-that-requires-env-variables"
#

require "dotenv/rails"
Dotenv::Railtie.load<commit_msg>Add Rails 3 monkey patch to deal with missing ivar prior to load.<commit_after># If you use gems that require environment variables to be set before they are
# loaded, then list `dotenv-rails` in the `Gemfile` before those other gems and
# require `dotenv/rails-now`.
#
#     gem "dotenv-rails", :require => "dotenv/rails-now"
#     gem "gem-that-requires-env-variables"
#

# Needed for dotenv to work in Rails 3.0
# https://github.com/bkeepers/dotenv/issues/151
module Rails
  class Railtie
     def self.instance
       @instance ||= new
     end
  end
end
require "dotenv/rails"

Dotenv::Railtie.load
{'fraction_non_alphanumeric': 0.10847107438016529, 'fraction_numerical': 0.006198347107438017, 'mean_word_length': 3.845, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '7425322', 'n_tokens_mistral': 335, 'n_tokens_neox': 304, 'n_words': 107}