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

Remove/reduce warnings #74

Merged
merged 3 commits into from
Apr 14, 2020
Merged

Remove/reduce warnings #74

merged 3 commits into from
Apr 14, 2020

Conversation

schneems
Copy link
Contributor

No description provided.

This bundler command is being deprecated:

```
[DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env`. If you instead want the environment before bundler was originally loaded, use `Bundler.with_original_env` (called at /home/travis/build/heroku/hatchet/lib/hatchet/app.rb:418)
```

We're using it in places where we were shelling out to `heroku`. I believe this was because the `heroku` cli used to be distributed as a ruby gem and in case the user did not have it in their Gemfile then the command would fail. 

The `heroku` command hasn't been distributed as a gem for a long time so I believe we can safely remove this, but the tests and time will tell.
Mocha deprecation warning at /home/travis/build/heroku/hatchet/test/test_helper.rb:10:in `require': Require 'mocha/test_unit', 'mocha/minitest' or 'mocha/api' instead of 'mocha/setup'.
@schneems schneems merged commit ffc483c into master Apr 14, 2020
@schneems schneems deleted the schneems/fix-warnings branch April 14, 2020 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants