<commit_before>'use strict';

var fs = require('fs');
var path = require('path');
var exec = require('child_process').exec;

var async = require('./simple/async');
var git_clone = require('./cmd/git').git_clone;

var envs = [
  'rbenv',
  'ndenv',
  'plenv',
  'pyenv',
  'goenv',
  'crenv'
];

var anyenv_repo = 'https://github.com/riywo/anyenv.git';

function install(src, dest, options, cb) {
  var anyenv_dir = path.join(dest, '.anyenv');

  git_clone(anyenv_repo, anyenv_dir, function (err) {
    if (err) { return cb(err); }

    anyenv_init(function (err) {
      if (err) { return cb(err); }

      async.each(envs, function (env, done) {
        anyenv_install(env, done);<commit_msg>Fix anyenv PATH<commit_after>'use strict';

var fs = require('fs');
var path = require('path');
var exec = require('child_process').exec;

var async = require('./simple/async');
var git_clone = require('./cmd/git').git_clone;

var envs = [
  'rbenv',
  'ndenv',
  'plenv',
  'pyenv',
  'goenv',
  'crenv'
];

var anyenv_repo = 'https://github.com/riywo/anyenv.git';

function install(src, dest, options, cb) {
  var anyenv_dir = path.join(dest, '.anyenv');
  var anyenv_bin = path.join(anyenv_dir, 'bin')

  git_clone(anyenv_repo, anyenv_dir, function (err) {
    if (err) { return cb(err); }

    process.env.PATH = anyenv_bin + ':' + process.env.PATH;
    anyenv_init(function (err) {
      if (err) { return cb(err); }

      async.each(envs, function (env, done) {
        anyenv_install(env, done);
{'fraction_non_alphanumeric': 0.1804812834224599, 'fraction_numerical': 0.0, 'mean_word_length': 3.798076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '564882', 'n_tokens_mistral': 565, 'n_tokens_neox': 557, 'n_words': 122}