diff options
| author | yalh76 <yalh@yahoo.com> | 2020-05-19 01:20:45 +0200 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2020-05-19 01:20:45 +0200 |
| commit | 736d7908b4f31095e7a7b92fc632b0f6fad05e83 (patch) | |
| tree | 45d83101fca09da035e1ea32a6fb95e85254ebcf /scripts/restore | |
| parent | 36ff48ac1d930f235217d5758f6bd33bac039cc5 (diff) | |
| download | mastodon_ynh-736d7908b4f31095e7a7b92fc632b0f6fad05e83.tar.gz mastodon_ynh-736d7908b4f31095e7a7b92fc632b0f6fad05e83.tar.bz2 mastodon_ynh-736d7908b4f31095e7a7b92fc632b0f6fad05e83.zip | |
RUBY_VERSION factorisation
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/restore b/scripts/restore index c6e4bc8..bd79e95 100644 --- a/scripts/restore +++ b/scripts/restore @@ -114,9 +114,11 @@ ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ st #================================================= ynh_script_progression --message="Installing Ruby..." --weight=393 -ynh_install_ruby --ruby_version=2.6.5 -/opt/rbenv/versions/2.6.5/bin/gem update --system -/opt/rbenv/versions/2.6.5/bin/gem install bundler:1.17.3 --no-document +ynh_install_ruby --ruby_version=$RUBY_VERSION +pushd "$final_path/live" + gem update --system + gem install bundler:1.17.3 --no-document +popd #================================================= # RESTORE THE POSTGRESQL DATABASE |
