Skip to content

Commit

Permalink
Download gems that are not present, like net-imap dependencies
Browse files Browse the repository at this point in the history
Some of those dependencies are part of Ruby already, so they aren't
installed locally. If we use local bundler will skip downloading them
but will not be able to find them anyway, failing.
  • Loading branch information
rafaelfranca committed Sep 20, 2022
1 parent 3e582ea commit 5c70765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/acceptance_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def exec_name

FileUtils.cp_r "#{app.gem_home}/", bundle_path.to_s

app.run! "bundle install --path .bundle --clean --local"
app.run! "bundle install --path .bundle --clean --prefer-local"

assert_speedup do
2.times { assert_success "bundle exec rails runner ''" }
Expand Down

0 comments on commit 5c70765

Please sign in to comment.