aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
#=================================================