aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-10-25 19:16:20 +0200
committerGitHub <noreply@github.com>2017-10-25 19:16:20 +0200
commit785edef7e416ecfbe844fc08597e20139d1fc260 (patch)
tree8d77a538ad791208160d4fe7bb4eaea85e48611a /scripts/install
parent1b9ee91269e65c97a7a126157474695e427cab20 (diff)
downloadmastodon_ynh-785edef7e416ecfbe844fc08597e20139d1fc260.tar.gz
mastodon_ynh-785edef7e416ecfbe844fc08597e20139d1fc260.tar.bz2
mastodon_ynh-785edef7e416ecfbe844fc08597e20139d1fc260.zip
Fix install v2.0 ruby version
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/install b/scripts/install
index 217ca34..7be59db 100644
--- a/scripts/install
+++ b/scripts/install
@@ -122,17 +122,17 @@ COMMANDS
# Install ruby-build
sudo su - $app <<RCOMMANDS
-/opt/mastodon/.rbenv/bin/rbenv install 2.4.1
-/opt/mastodon/.rbenv/versions/2.4.1/bin/ruby -v
+/opt/mastodon/.rbenv/bin/rbenv install 2.4.2
+/opt/mastodon/.rbenv/versions/2.4.2/bin/ruby -v
RCOMMANDS
# Create symlink for ruby
-sudo ln -s /opt/mastodon/.rbenv/versions/2.4.1/bin/ruby /usr/bin/ruby || true
+sudo ln -s /opt/mastodon/.rbenv/versions/2.4.2/bin/ruby /usr/bin/ruby || true
# Install Mastodon
sudo su - $app <<MCOMMANDS
pushd ~/live
-/opt/mastodon/.rbenv/versions/2.4.1/bin/gem install bundler
+/opt/mastodon/.rbenv/versions/2.4.2/bin/gem install bundler
bin/bundle install --deployment --without development test
yarn install --production
MCOMMANDS