Amélioration des phase 3 et 4

This commit is contained in:
2018-05-07 19:26:58 +02:00
parent c602b65543
commit cea26579d2
2 changed files with 14 additions and 9 deletions

View File

@@ -2,8 +2,12 @@
# 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
cd $HOME
pwd
sleep 20
git clone https://github.com/rbenv/rbenv.git $HOME/.rbenv || exit 101
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> $HOME/.bashrc
echo 'eval "$(rbenv init -)"' >> $HOME/.bashrc
source $HOME/.bashrc
exit 0