From 8da724c2eb7ef49b36b34b66c6f04014f4c646b1 Mon Sep 17 00:00:00 2001 From: Gredin67 Date: Fri, 15 Mar 2024 22:48:31 +0100 Subject: [PATCH 1/4] missing libffi libyaml deps --- manifest.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifest.toml b/manifest.toml index 5a57c71..d644aa0 100644 --- a/manifest.toml +++ b/manifest.toml @@ -84,6 +84,8 @@ ram.runtime = "50M" # For Ruby "libjemalloc-dev", + "libffi-dev", + "libyaml-dev", "curl", "build-essential", "libreadline-dev", From c1e5f3041d700b1ba61cd69c4165a7f5ef0fc5e1 Mon Sep 17 00:00:00 2001 From: Gredin67 Date: Fri, 15 Mar 2024 23:04:18 +0100 Subject: [PATCH 2/4] bundler_version --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 1f749c9..73b83e2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= ruby_version="3.2.2" - +bundler_version="2.1.4" nodejs_version="18.15" # Workaround for Mastodon on Bullseye From c0b0c4230a57d500da44b4e11f426a842f9968ec Mon Sep 17 00:00:00 2001 From: Gredin67 Date: Fri, 15 Mar 2024 23:35:39 +0100 Subject: [PATCH 3/4] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 73b83e2..89cabfd 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= ruby_version="3.2.2" -bundler_version="2.1.4" +bundler_version=2.1.4 nodejs_version="18.15" # Workaround for Mastodon on Bullseye From 9ee618ade5fea8379251e86b4b61d2c22ee5bf19 Mon Sep 17 00:00:00 2001 From: Gredin67 Date: Sat, 16 Mar 2024 00:07:11 +0100 Subject: [PATCH 4/4] no bundler version --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 89cabfd..725c540 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= ruby_version="3.2.2" -bundler_version=2.1.4 +#bundler_version=2.1.4 nodejs_version="18.15" # Workaround for Mastodon on Bullseye @@ -29,7 +29,7 @@ fi fabmanager_build_ruby() { pushd "$install_dir" ynh_use_ruby - ynh_exec_warn_less $ynh_gem install "bundler:$bundler_version" + ynh_exec_warn_less $ynh_gem install "bundler" ynh_exec_warn_less bin/bundle config --global frozen 1 ynh_exec_warn_less bin/bundle config set --local without 'development test doc' ynh_exec_warn_less bin/bundle install