diff options
| author | yalh76 <yalh@yahoo.com> | 2019-03-20 04:06:44 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2019-03-20 04:06:44 +0100 |
| commit | 5885b4cf7d8fcbd5d9019243235e9097c3fcac6b (patch) | |
| tree | 0accd5a2bcbe29d6f484d0797942ae4909fc1fec /scripts/install | |
| parent | 7915cc889f7fcb991693ccfdb558b27404bfa16a (diff) | |
| download | mastodon_ynh-5885b4cf7d8fcbd5d9019243235e9097c3fcac6b.tar.gz mastodon_ynh-5885b4cf7d8fcbd5d9019243235e9097c3fcac6b.tar.bz2 mastodon_ynh-5885b4cf7d8fcbd5d9019243235e9097c3fcac6b.zip | |
Fix ruby
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 819296b..abded5b 100644 --- a/scripts/install +++ b/scripts/install @@ -202,15 +202,15 @@ chown -R "$app": "$final_path" ( cd "$final_path/live" su mastodon <<INSTALL - $final_path/.rbenv/versions/2.6.0/bin/gem update --system - $final_path/.rbenv/versions/2.6.0/bin/gem install bundler --no-document - $final_path/.rbenv/versions/2.6.0/bin/bundle install \ + /opt/rbenv/versions/2.6.0/bin/gem update --system + /opt/rbenv/versions/2.6.0/bin/gem install bundler --no-document + /opt/rbenv/versions/2.6.0/bin/bundle install \ -j$(getconf _NPROCESSORS_ONLN) \ --deployment --without development test yarn install --pure-lockfile echo "SAFETY_ASSURED=1">> .env.production - RAILS_ENV=production $final_path/.rbenv/versions/2.6.0/bin/bundle exec rails db:migrate --quiet - RAILS_ENV=production $final_path/.rbenv/versions/2.6.0/bin/bundle exec rails assets:precompile --quiet + RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails db:migrate --quiet + RAILS_ENV=production /opt/rbenv/versions/2.6.0/bin/bundle exec rails assets:precompile --quiet INSTALL ) |
