aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authoranmol <github@datamol.org>2019-01-21 16:37:43 +0530
committeranmol <github@datamol.org>2019-01-21 16:37:43 +0530
commit6a0aab6a93abc3a73fbef2e434bdf6279bd43122 (patch)
tree453989ed726cff03655aaa1e72459a754574486e /scripts/install
parent95745611d4dd81ba87e2da36f4ce59875f475c2d (diff)
downloadmastodon_ynh-6a0aab6a93abc3a73fbef2e434bdf6279bd43122.tar.gz
mastodon_ynh-6a0aab6a93abc3a73fbef2e434bdf6279bd43122.tar.bz2
mastodon_ynh-6a0aab6a93abc3a73fbef2e434bdf6279bd43122.zip
Upgraded to version 2.7.0
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/install b/scripts/install
index 8782cdb..42d046a 100644
--- a/scripts/install
+++ b/scripts/install
@@ -161,14 +161,14 @@ eval \"\$(rbenv init -)\"" > $final_path/.profile
# Install ruby-build
(
- exec_as "$app" $final_path/.rbenv/bin/rbenv install 2.5.3 || true
- exec_as "$app" $final_path/.rbenv/bin/rbenv global 2.5.3 || true
- exec_as "$app" $final_path/.rbenv/versions/2.5.3/bin/ruby -v
+ exec_as "$app" $final_path/.rbenv/bin/rbenv install 2.6.0 || true
+ exec_as "$app" $final_path/.rbenv/bin/rbenv global 2.6.0 || true
+ exec_as "$app" $final_path/.rbenv/versions/2.6.0/bin/ruby -v
)
# Create symlink for ruby
rm /usr/bin/ruby || true
-ln -s $final_path/.rbenv/versions/2.5.3/bin/ruby /usr/bin/ruby || true
+ln -s $final_path/.rbenv/versions/2.6.0/bin/ruby /usr/bin/ruby || true
# Adjust Mastodon config
@@ -206,7 +206,7 @@ chown -R "$app": "$final_path"
(
cd "$final_path/live"
su mastodon <<INSTALL
- $final_path/.rbenv/versions/2.5.3/bin/gem install bundler:1.16.6 --no-ri --no-rdoc
+ $final_path/.rbenv/versions/2.6.0/bin/gem install bundler:1.16.6 --no-ri --no-rdoc
$final_path/live/bin/bundle install \
-j$(getconf _NPROCESSORS_ONLN) \
--deployment --without development test