From b5556ae674f1ca35da8f5e1d5a8a8ce4e69bc580 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 19 May 2020 01:24:16 +0200 Subject: [PATCH] BUNDLER_VERSION factorization --- scripts/_common.sh | 2 ++ scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 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 #=================================================