diff options
| author | anmol <github@datamol.org> | 2019-01-07 14:43:36 +0530 |
|---|---|---|
| committer | anmol <github@datamol.org> | 2019-01-07 14:43:36 +0530 |
| commit | 3647d3393d823ef53067de51ff5876c6f51e432e (patch) | |
| tree | b9e2005f105b31839732e1ea7e153cee3dd8932d /scripts | |
| parent | ad188b0013bc0f0d5427d7582a0077abff4293d0 (diff) | |
| download | mastodon_ynh-3647d3393d823ef53067de51ff5876c6f51e432e.tar.gz mastodon_ynh-3647d3393d823ef53067de51ff5876c6f51e432e.tar.bz2 mastodon_ynh-3647d3393d823ef53067de51ff5876c6f51e432e.zip | |
Udated ruby-build to 2.6.0
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/install | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/install b/scripts/install index 3bae370..420dac1 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 # Yarn install on root pushd $final_path/live @@ -211,8 +211,8 @@ chown -R "$app": "$final_path" ( cd "$final_path/live" su mastodon <<INSTALL - $final_path/.rbenv/versions/2.5.3/bin/gem install bundler - $final_path/.rbenv/versions/2.5.3/bin/gem bundle update --bundler + $final_path/.rbenv/versions/2.6.0/bin/gem install bundler + $final_path/.rbenv/versions/2.6.0/bin/gem bundle update --bundler $final_path/live/bin/bundle install -j$(getconf _NPROCESSORS_ONLN) --deployment --without development test yarn install --production --no-progress --non-interactive --silent echo "SAFETY_ASSURED=1">> .env.production |
