Files
states/files/Install-Mastodon-Phase3.sh
2018-05-07 11:41:18 +02:00

10 lines
306 B
Bash

#!/bin/bash
# https://anystack.xyz/how-to-install-mastodon-ubuntu/
echo "Phase 3: Preparation de l\'environnement"
git clone https://github.com/rbenv/rbenv.git ~/.rbenv || exit 101
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
exit 0