<commit_before>RBENV_ROOT="$HOME/ruby/rbenv"

if [[ -d $RBENV_ROOT ]]; then
  export RBENV_ROOT

  add_to_path $RBENV_ROOT/bin

  eval "$(rbenv init -)"
fi

export DISABLE_SPRING=1

rbenv-gem-dir () {
  echo $(rbenv prefix)/lib/ruby/gems/*/gems/
}

# If a Gemfile has rb-readline, rails console is fine.
# Loading pry without rails requires including it directly.
alias pry='pry -rrb-readline'<commit_msg>Make alias for "get ip via ruby"<commit_after>RBENV_ROOT="$HOME/ruby/rbenv"

if [[ -d $RBENV_ROOT ]]; then
  export RBENV_ROOT

  add_to_path $RBENV_ROOT/bin

  eval "$(rbenv init -)"
fi

export DISABLE_SPRING=1

rbenv-gem-dir () {
  echo $(rbenv prefix)/lib/ruby/gems/*/gems/
}

# If a Gemfile has rb-readline, rails console is fine.
# Loading pry without rails requires including it directly.
alias pry='pry -rrb-readline'

alias ruby-ip='ruby -rsocket -e "puts Socket.gethostbyname(ARGV[0])[3].unpack(%(CCCC)).join(%(.))"'
{'fraction_non_alphanumeric': 0.14408602150537633, 'fraction_numerical': 0.004301075268817204, 'mean_word_length': 4.259887005649717, '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': '2681722', 'n_tokens_mistral': 388, 'n_tokens_neox': 361, 'n_words': 89}