Suppression de la suppression de .rbenv !
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
#!/bin/bash
|
||||
# https://anystack.xyz/how-to-install-mastodon-ubuntu/
|
||||
echo "Phase 3: Preparation de l\'environnement"
|
||||
|
||||
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
|
||||
|
||||
@@ -3,7 +3,7 @@ set -x
|
||||
# Let's install ruby 2.5.0
|
||||
echo Phase 4: Installation de Ruby
|
||||
echo $HOME
|
||||
rm -rf $HOME/.rbenv 2>/dev/null;git clone https://github.com/rbenv/ruby-build.git $HOME/.rbenv/plugins/ruby-build || exit 301
|
||||
git clone https://github.com/rbenv/ruby-build.git $HOME/.rbenv/plugins/ruby-build || exit 301
|
||||
pwd
|
||||
cd $HOME/.rbenv || exit 302
|
||||
cd $HOME/.rbenv && rbenv install 2.5.0 || exit 303
|
||||
|
||||
Reference in New Issue
Block a user