<commit_before>#!/bin/bash
set -x

source _variables.sh

### stage bosh_ruby
apt-get -y install build-essential zlib1g-dev libssl-dev libxml2-dev libxslt-dev libreadline6-dev libyaml-dev libffi-dev

# install ruby
pushd /tmp
	if [ ! -f "$bosh_dir/bin/ruby" ]
	then
	    [ ! -f "ruby-1.9.3-p385.tar.gz" ] && wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p385.tar.gz
		tar zxf ruby-1.9.3-p385.tar.gz
		cd ruby-1.9.3-p385
		./configure --prefix=$bosh_dir --disable-install-doc --enable-pthread --enable-shared
		make && make install
	fi
popd
# Install rubygems<commit_msg>add libruby<commit_after>#!/bin/bash
set -x

source _variables.sh

### stage bosh_ruby
apt-get -y install build-essential zlib1g-dev libssl-dev libxml2-dev libxslt-dev libreadline6-dev libyaml-dev libffi-dev libruby1.9

# install ruby
pushd /tmp
	if [ ! -f "$bosh_dir/bin/ruby" ]
	then
	    [ ! -f "ruby-1.9.3-p385.tar.gz" ] && wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p385.tar.gz
		tar zxf ruby-1.9.3-p385.tar.gz
		cd ruby-1.9.3-p385
		./configure --prefix=$bosh_dir --disable-install-doc --enable-pthread --enable-shared
		make && make install
	fi
popd
# Install rubygems
{'fraction_non_alphanumeric': 0.16079105760963028, 'fraction_numerical': 0.051590713671539126, 'mean_word_length': 3.06993006993007, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2454159', 'n_tokens_mistral': 550, 'n_tokens_neox': 493, 'n_words': 95}