<commit_before>#!/usr/bin/env bash
#
# Setup rbenv and install some nice gems globally

set -e

# Skip rdoc install
export RUBY_CONFIGURE_OPTS=--disable-install-doc

# Version to install with rbenv
RUBY_VERSION="2.3.0"

# Gems to install
GEMS=(
  "bundler"
  "jekyll"
  "jekyll-paginate"
  "neovim"
  "tmuxinator"
)

echo ""
echo "  √ Running Ruby install script"
echo ""

if ! command -v rbenv >/dev/null 2>&1 && [ ! -d $HOME/.rbenv ]; then
  echo ""
  echo "  √ Installing rbenv..."
  echo ""
  git clone https://github.com/rbenv/rbenv.git $HOME/.rbenv
  cd $HOME/.rbenv && src/configure && make -C src
  echo ""
  echo "  √ Installing ruby-build..."
  echo ""
  git clone https://github.com/rbenv/ruby-build.git $HOME/.rbenv/plugins/ruby-build
  echo ""
  echo "  √ Installing rbenv-gemset..."
  echo ""
  git clone git://github.com/jf/rbenv-gemset.git $HOME/.rbenv/plugins/rbenv-gemset
  echo ""
  echo "√ Reloading environment"
  echo ""
  export PATH=$HOME/.rbenv/bin:$PATH
  eval "$(rbenv init -)"
fi<commit_msg>Add rbenv-bundler to Ruby install script<commit_after>#!/usr/bin/env bash
#
# Setup rbenv and install some nice gems globally

set -e

# Skip rdoc install
export RUBY_CONFIGURE_OPTS=--disable-install-doc

# Version to install with rbenv
RUBY_VERSION="2.3.0"

# Gems to install
GEMS=(
  "bundler"
  "jekyll"
  "jekyll-paginate"
  "neovim"
  "tmuxinator"
)

echo ""
echo "  √ Running Ruby install script"
echo ""

if ! command -v rbenv >/dev/null 2>&1 && [ ! -d $HOME/.rbenv ]; then
  echo ""
  echo "  √ Installing rbenv..."
  echo ""
  git clone https://github.com/rbenv/rbenv.git $HOME/.rbenv
  cd $HOME/.rbenv && src/configure && make -C src
  echo ""
  echo "  √ Installing ruby-build..."
  echo ""
  git clone https://github.com/rbenv/ruby-build.git $HOME/.rbenv/plugins/ruby-build
  echo ""
  echo "  √ Installing rbenv-gemset..."
  echo ""
  git clone git://github.com/jf/rbenv-gemset.git $HOME/.rbenv/plugins/rbenv-gemset
  echo ""
  echo " √ Installing rbenv-bundler"
  echo ""
  git clone https://github.com/carsomyr/rbenv-bundler.git $HOME/.rbenv/plugins/bundler
  echo ""
  echo "√ Reloading environment"
  echo ""
  export PATH=$HOME/.rbenv/bin:$PATH
  eval "$(rbenv init -)"
fi
{'fraction_non_alphanumeric': 0.15572657311000454, 'fraction_numerical': 0.004526935264825713, 'mean_word_length': 3.123134328358209, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 5, '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': '4690494', 'n_tokens_mistral': 882, 'n_tokens_neox': 866, 'n_words': 208}