diff options
| author | anmol <github@datamol.org> | 2019-01-21 16:37:43 +0530 |
|---|---|---|
| committer | anmol <github@datamol.org> | 2019-01-21 16:37:43 +0530 |
| commit | 6a0aab6a93abc3a73fbef2e434bdf6279bd43122 (patch) | |
| tree | 453989ed726cff03655aaa1e72459a754574486e /scripts/install | |
| parent | 95745611d4dd81ba87e2da36f4ce59875f475c2d (diff) | |
| download | mastodon_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/install | 10 |
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 |
