From 0ac58bd4c02a4247d2202f6e7ccf0391b65e4d3d Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Fri, 6 Oct 2023 12:17:00 +0200 Subject: [PATCH] Don't use the rails-new cache on the CI --- bin/rails-new | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/rails-new b/bin/rails-new index 0581bb55..bbdd4634 100755 --- a/bin/rails-new +++ b/bin/rails-new @@ -11,6 +11,8 @@ rails_version=`bundle exec ruby -rrails/version -e'puts Rails.version'` solidus_version=`bundle exec ruby -rspree/core/version -e'puts Spree::VERSION'` cache_path="tmp/cache/rails-new/${app_name}-${rails_version}-${solidus_version}-${ruby_version}.zip" +test $CI && cache_path="" # Disable caching on CI + # Stay away from the bundler env of the containing extension. function unbundled { echo "~~> Running: $@"