Skip to content

Commit

Permalink
Don't use the rails-new cache on the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Oct 6, 2023
1 parent 384e17e commit 0ac58bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/rails-new
Original file line number Diff line number Diff line change
Expand Up @@ -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: $@"
Expand Down

0 comments on commit 0ac58bd

Please sign in to comment.