From c70e9afc3afac6a1bbc272336f21bcd57ae65191 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 4 Feb 2023 13:02:45 -0300 Subject: [PATCH] BREAKING CHANGE: don't proxy source gems by using our own repo as proxy, we were caching source gems. if the build fails, bundle would try to get the latest source version and fail. --- gem-compiler.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gem-compiler.sh b/gem-compiler.sh index ca29269..170a349 100755 --- a/gem-compiler.sh +++ b/gem-compiler.sh @@ -17,7 +17,7 @@ OS_VERSION="$(os-version)" RUBY_GEMS="${OS_VERSION}.${ID}.gems.${SUTTY}" cd cache/ -gem fetch --source=https://${RUBY_GEMS} --platform=ruby --version ${GEM_VERSION} ${GEM_NAME} +gem fetch --source=https://rubygems.org --platform=ruby --version ${GEM_VERSION} ${GEM_NAME} cd ../gems/ gem compile -V --prune --strip "strip --strip-unneeded" ${GEM_COMPILER_FLAGS} "../cache/${GEM_NAME}-${GEM_VERSION}.gem"