Skip to content

Commit

Permalink
Add back gemfile env and update the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
drinkbeer committed Oct 21, 2024
1 parent 60eb5c9 commit 5e52e4a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ namespace :test do
desc "Test the identity_cache plugin with minimum supported dependencies"
task :min_supported do
gemfile = File.expand_path("gemfiles/Gemfile.min-supported", __dir__)
ENV["BUNDLE_GEMFILE"] = gemfile

puts "Installing dependencies for #{gemfile}..."
puts "\nInstalling dependencies for #{gemfile}..."
Bundler.with_unbundled_env do
system("bundle install --gemfile #{gemfile}") || abort("Bundle install failed")
end
Expand All @@ -40,8 +41,9 @@ namespace :test do
desc "Test the identity_cache plugin with latest released dependencies"
task :latest_release do
gemfile = File.expand_path("gemfiles/Gemfile.latest-release", __dir__)
ENV["BUNDLE_GEMFILE"] = gemfile

puts "Installing dependencies for #{gemfile}..."
puts "\nInstalling dependencies for #{gemfile}..."
Bundler.with_unbundled_env do
system("bundle install --gemfile #{gemfile}") || abort("Bundle install failed")
end
Expand All @@ -59,6 +61,7 @@ namespace :test do
desc "Test the identity_cache plugin with rails edge dependencies"
task :rails_edge do
gemfile = File.expand_path("gemfiles/Gemfile.rails-edge", __dir__)
ENV["BUNDLE_GEMFILE"] = gemfile

puts "\nInstalling dependencies for #{gemfile}..."
Bundler.with_unbundled_env do
Expand Down

0 comments on commit 5e52e4a

Please sign in to comment.