<commit_before>set -ex

# install applications and libraries
add-apt-repository -y ppa:rethinkdb/ppa
add-apt-repository -y ppa:chris-lea/node.js
aptitude -y update
aptitude install -y rethinkdb nginx-light apache2-utils python-twisted \
    rubygems python-pip npm nodejs ruby1.9.1 rubygems1.9.1 python-dev ruby1.9.1-dev \
    build-essential
update-alternatives --set ruby /usr/bin/ruby1.9.1
update-alternatives --set gem /usr/bin/gem1.9.1
# aptitude -y safe-upgrade
npm install -g rethinkdb
pip install rethinkdb<commit_msg>Upgrade packages in the AMI<commit_after>set -ex

# install applications and libraries
add-apt-repository -y ppa:rethinkdb/ppa
add-apt-repository -y ppa:chris-lea/node.js
aptitude -y update
aptitude -y upgrade
aptitude install -y rethinkdb nginx-light apache2-utils python-twisted \
    rubygems python-pip npm nodejs ruby1.9.1 rubygems1.9.1 python-dev ruby1.9.1-dev \
    build-essential
update-alternatives --set ruby /usr/bin/ruby1.9.1
update-alternatives --set gem /usr/bin/gem1.9.1
# aptitude -y safe-upgrade
npm install -g rethinkdb
pip install rethinkdb
{'fraction_non_alphanumeric': 0.1003683241252302, 'fraction_numerical': 0.029465930018416207, 'mean_word_length': 3.831111111111111, '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': '4724620', 'n_tokens_mistral': 409, 'n_tokens_neox': 382, 'n_words': 104}