aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-05-19 01:24:16 +0200
committeryalh76 <yalh@yahoo.com>2020-05-19 01:24:16 +0200
commitb5556ae674f1ca35da8f5e1d5a8a8ce4e69bc580 (patch)
tree9ba15f64a582d80dd280665f6911afc9717c74ea /scripts
parent736d7908b4f31095e7a7b92fc632b0f6fad05e83 (diff)
downloadmastodon_ynh-b5556ae674f1ca35da8f5e1d5a8a8ce4e69bc580.tar.gz
mastodon_ynh-b5556ae674f1ca35da8f5e1d5a8a8ce4e69bc580.tar.bz2
mastodon_ynh-b5556ae674f1ca35da8f5e1d5a8a8ce4e69bc580.zip
BUNDLER_VERSION factorization
Diffstat (limited to 'scripts')
-rw-r--r--scripts/_common.sh2
-rw-r--r--scripts/install2
-rw-r--r--scripts/restore2
-rw-r--r--scripts/upgrade2
4 files changed, 5 insertions, 3 deletions
diff --git a/scripts/_common.sh b/scripts/_common.sh
index f39b966..bb0fe95 100644
--- a/scripts/_common.sh
+++ b/scripts/_common.sh
@@ -9,6 +9,8 @@ pkg_dependencies="imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git
RUBY_VERSION="2.6.5"
+BUNDLER_VERSION="1.17.3"
+
#=================================================
# PERSONAL HELPERS
#=================================================
diff --git a/scripts/install b/scripts/install
index 2e218c6..ab3aaa9 100644
--- a/scripts/install
+++ b/scripts/install
@@ -157,7 +157,7 @@ ynh_script_progression --message="Installing Ruby..." --weight=424
ynh_install_ruby --ruby_version=$RUBY_VERSION
pushd "$final_path/live"
gem update --system
- gem install bundler:1.17.3 --no-document
+ gem install bundler:$BUNDLER_VERSION --no-document
popd
#=================================================
diff --git a/scripts/restore b/scripts/restore
index bd79e95..724afc3 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -117,7 +117,7 @@ ynh_script_progression --message="Installing Ruby..." --weight=393
ynh_install_ruby --ruby_version=$RUBY_VERSION
pushd "$final_path/live"
gem update --system
- gem install bundler:1.17.3 --no-document
+ gem install bundler:$BUNDLER_VERSION --no-document
popd
#=================================================
diff --git a/scripts/upgrade b/scripts/upgrade
index f34010b..149c2f5 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -252,7 +252,7 @@ ynh_script_progression --message="Installing Ruby..." --weight=424
ynh_install_ruby --ruby_version=$RUBY_VERSION
pushd "$final_path/live"
gem update --system
- gem install bundler:1.17.3 --no-document
+ gem install bundler:$BUNDLER_VERSION --no-document
popd
#=================================================