<commit_before>#!/bin/bash

echo ----==== Installing 7zip ====----

sudo apt-get -qq update
sudo apt-get install -qq p7zip-full

echo ----==== Installing luacheck ====----

sudo apt-get install -qq luarocks
sudo luarocks install luacheck

echo ----==== Downloading build templates ====----

git clone https://github.com/LIKO-12/Nightly.git ../BuildUtils

echo ----==== Downloading AppImage toolkit ====----

wget -O "../BuildUtils/appimagetool.AppImage" "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-"$(uname -m)".AppImage"
chmod a+x ../BuildUtils/appimagetool.AppImage

echo ----==== Downloading ApkTool ====---

wget -O "../BuildUtils/apktool.jar" "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.3.4.jar"
chmod a+x ../BuildUtils/apktool.jar

echo ----==== Installing supply ====----

rvm install 2.7.7
gem install fastlane supply<commit_msg>Use correct ruby version<commit_after>#!/bin/bash

echo ----==== Installing 7zip ====----

sudo apt-get -qq update
sudo apt-get install -qq p7zip-full

echo ----==== Installing luacheck ====----

sudo apt-get install -qq luarocks
sudo luarocks install luacheck

echo ----==== Downloading build templates ====----

git clone https://github.com/LIKO-12/Nightly.git ../BuildUtils

echo ----==== Downloading AppImage toolkit ====----

wget -O "../BuildUtils/appimagetool.AppImage" "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-"$(uname -m)".AppImage"
chmod a+x ../BuildUtils/appimagetool.AppImage

echo ----==== Downloading ApkTool ====---

wget -O "../BuildUtils/apktool.jar" "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.3.4.jar"
chmod a+x ../BuildUtils/apktool.jar

echo ----==== Installing supply ====----

rvm install 2.5.3
gem install fastlane supply
{'fraction_non_alphanumeric': 0.20322043309272628, 'fraction_numerical': 0.01110494169905608, 'mean_word_length': 3.4603960396039604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1153338', 'n_tokens_mistral': 657, 'n_tokens_neox': 599, 'n_words': 132}