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

Add optional Bundler.with_unbundled_env call #106

Merged
merged 2 commits into from
Jun 27, 2020

Conversation

randome
Copy link
Contributor

@randome randome commented Jun 26, 2020

As with_clean_env has been deprecated in favor of Bundler.with_unbundled_env

To avoid showing the warning message every time bump is ran

Fixes #105

As with_clean_env has been deprecated in favor of `Bundler.with_unbundled_env`
@randome randome marked this pull request as draft June 26, 2020 19:49
@randome
Copy link
Contributor Author

randome commented Jun 26, 2020

@grosser One CI job was failing https://travis-ci.org/github/gregorym/bump/jobs/702492747 not sure what to do about that one

@randome randome marked this pull request as ready for review June 26, 2020 20:00
@@ -403,7 +403,7 @@ module Foo
gemspec
RUBY
`git add Gemfile #{gemspec}`
Bundler.with_clean_env { run("bundle") }
Bundler.with_unbundled_env { run("bundle") }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the same logic here ?
... otherwise do a gem install bundler
... can drop ruby 2.3 / 2.4 to avoid a few headaches

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed new commit with same logic for specs.

Not my call about dropping older version of ruby :)

@randome randome force-pushed the fix-bundler-deprecation-warn branch from f11edd8 to a1dfc78 Compare June 27, 2020 15:51
@grosser grosser merged commit 63861f0 into gregorym:master Jun 27, 2020
@grosser
Copy link
Collaborator

grosser commented Jun 27, 2020

@gregorym can you bump ?

@randome randome deleted the fix-bundler-deprecation-warn branch June 28, 2020 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation warning Bundler.with_clean_env
2 participants