1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Change ruby version from 2.3.1 to 2.4.1

This commit is contained in:
nemsia 2017-04-10 23:29:33 +02:00 committed by GitHub
parent 23211dff3c
commit a91a1fa199

View file

@ -98,17 +98,17 @@ COMMANDS
# Install ruby-build # Install ruby-build
sudo su - $app <<RCOMMANDS sudo su - $app <<RCOMMANDS
/opt/mastodon/.rbenv/bin/rbenv install 2.3.1 /opt/mastodon/.rbenv/bin/rbenv install 2.4.1
/opt/mastodon/.rbenv/versions/2.3.1/bin/ruby -v /opt/mastodon/.rbenv/versions/2.4.1/bin/ruby -v
RCOMMANDS RCOMMANDS
# Create symlink for ruby # Create symlink for ruby
sudo ln -s /opt/mastodon/.rbenv/versions/2.3.1/bin/ruby /usr/bin/ruby || true sudo ln -s /opt/mastodon/.rbenv/versions/2.4.1/bin/ruby /usr/bin/ruby || true
# # Install Mastodon # # Install Mastodon
sudo su - $app <<MCOMMANDS sudo su - $app <<MCOMMANDS
pushd ~/live pushd ~/live
/opt/mastodon/.rbenv/versions/2.3.1/bin/gem install bundler /opt/mastodon/.rbenv/versions/2.4.1/bin/gem install bundler
bin/bundle install --deployment --without development test bin/bundle install --deployment --without development test
yarn install yarn install
MCOMMANDS MCOMMANDS