diff --git a/scripts/install b/scripts/install index 6a1fe20..3258465 100644 --- a/scripts/install +++ b/scripts/install @@ -101,13 +101,12 @@ popd # sudo chown -R $app: "${final_path}" # Install de rbenv -# Tips: rbenv init - bash (see: https://github.com/rbenv/rbenv/issues/925) sudo su - $app <> ~/.profile echo 'export PATH="/opt/mastodon/.rbenv/bin:/opt/mastodon/live/bin:$PATH"' >> ~/.bashrc -echo 'eval "\$(rbenv init - bash)"' >> ~/.bashrc +echo 'eval "\$(rbenv init -)"' >> ~/.profile COMMANDS # Install ruby-build @@ -127,19 +126,6 @@ bin/bundle install --deployment --without development test yarn install --production MCOMMANDS -# Vérif Mastodon -sudo su - $app <