Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Bundler.clean_system deprecation #124

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ task :generate_test_gem => ['engine_cart:setup'] do
system "echo '\ngem \"sqlite3\", \"< 1.7.0\"\n' >> Gemfile"
end

Bundler.clean_system "bundle update --quiet"
Bundler.unbundled_system "bundle update --quiet"
system "echo 'require \"engine_cart/rake_task\"\n' >> Rakefile"

system("bundle exec rake engine_cart:prepare")
Bundler.clean_system "bundle install --quiet"
Bundler.unbundled_system "bundle install --quiet"
end
end

Expand Down
4 changes: 2 additions & 2 deletions lib/engine_cart/tasks/engine_cart.rake
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ namespace :engine_cart do

# Copy our test app generators into the app and prepare it
if File.exist? "#{EngineCart.templates_path}/lib/generators"
Bundler.clean_system "cp -r #{EngineCart.templates_path}/lib/generators #{EngineCart.destination}/lib"
Bundler.unbundled_system "cp -r #{EngineCart.templates_path}/lib/generators #{EngineCart.destination}/lib"
end

within_test_app do
Expand All @@ -129,7 +129,7 @@ namespace :engine_cart do
end
end

Bundler.clean_system "bundle install --quiet"
Bundler.unbundled_system "bundle install --quiet"

EngineCart.write_fingerprint

Expand Down
Loading