Fix deprecation warning for Bundler.with_clean_env
This commit is contained in:
parent
a1613577e8
commit
2286022f67
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ namespace :gemfiles do
|
||||||
no_rails_path = "test/gemfiles/no-rails.Gemfile"
|
no_rails_path = "test/gemfiles/no-rails.Gemfile"
|
||||||
File.write(no_rails_path, no_rails_gemfile)
|
File.write(no_rails_path, no_rails_gemfile)
|
||||||
|
|
||||||
Bundler.with_clean_env do
|
Bundler.with_unbundled_env do
|
||||||
system("BUNDLE_GEMFILE=#{no_rails_path} bundle install")
|
system("BUNDLE_GEMFILE=#{no_rails_path} bundle install")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue