aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/_common.sh12
-rw-r--r--scripts/ynh_install_ruby__24
2 files changed, 5 insertions, 11 deletions
diff --git a/scripts/_common.sh b/scripts/_common.sh
index ad4ed8e..1c28aec 100644
--- a/scripts/_common.sh
+++ b/scripts/_common.sh
@@ -9,15 +9,9 @@ pkg_dependencies="imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git
MEMORY_NEEDED="2560"
-if [ "$(lsb_release --codename --short)" = "buster" ]; then
- RUBY_VERSION="2.6.6"
- BUNDLER_VERSION="1.17.3"
- NODEJS_VERSION="12"
-else
- RUBY_VERSION="2.6.5"
- BUNDLER_VERSION="1.17.3"
- NODEJS_VERSION="10"
-fi
+RUBY_VERSION="2.7.2"
+BUNDLER_VERSION="1.17.3"
+NODEJS_VERSION="12"
#=================================================
# PERSONAL HELPERS
diff --git a/scripts/ynh_install_ruby__2 b/scripts/ynh_install_ruby__2
index df03e07..74de90e 100644
--- a/scripts/ynh_install_ruby__2
+++ b/scripts/ynh_install_ruby__2
@@ -22,8 +22,8 @@ SOURCE_SUM=80ad89ffe04c0b481503bd375f05c212bbc7d44ef5f5e649e0acdf25eba86736" > "
# Build an app.src for ruby-build
mkdir -p "../conf"
- echo "SOURCE_URL=https://github.com/rbenv/ruby-build/archive/v20200520.tar.gz
-SOURCE_SUM=52be6908a94fbd4a94f5064e8b19d4a3baa4b773269c3884165518d83bcc8922" > "../conf/ruby-build.src"
+ echo "SOURCE_URL=https://github.com/rbenv/ruby-build/archive/v20201225.tar.gz
+SOURCE_SUM=54cae123c2758e7714c66aca7ef8bc7f29cda8583891191ceb3053c6d098ecf1" > "../conf/ruby-build.src"
# Download and extract ruby-build
ynh_setup_source "$rbenv_install_dir/plugins/ruby-build" ruby-build