Pull request #2: Fix buildsMerge in OIT/heroku-buildpack-ruby from fix-builds to master
* commit '9368779cae5a361ad6cc51b9b3d1bff8f0764c9b':
Fixed address for libyaml and buildcurl doesn't work anymore.
Starting to address issue where we download 3rd party stuff every build
Pull request #1: OPTX-15378 - Addressing issues where we pulled in new libraries every time.Merge in OIT/heroku-buildpack-ruby from fix-older-ruby to master
* commit 'c558ea3dd3c1359093a7fc11247d38f7cabe2e80':
Addressing issues where we pulled in new libraries every time.
Update Bundler to 1.15.1This update includes several bugfixes:
- `bundle lock --update GEM` will fail gracefully when the gem is not in the lockfile
- `bundle init --gemspec` will fail gracefully when the gemspec is invalid
- `bundle install --force` works when the gemfile contains git gems
- `bundle env` will print well-formed markdown when there are no settings
Full details: https://github.com/bundler/bundler/comp...
Revert "Merge pull request #569 from heroku/schneems/bundler-1.15.0"Multiple issues have been reported through support tickets and through GitHub issues.
1.15.0 is not stable enough and 1.15.1 does not appear to have fixes to these issues listed in the Changelog. We will revert until we can triage all issues and report them to bundler and get them fixed.
GitHub Issue: #578
This reverts commit 2a7c1c9dc6464e0895bcc9a76607939f105d3952, reversing
changes made t...
Bundler 1.15.0Bundler fixed this bug https://github.com/bundler/bundler/pull/5388 which causes this issue https://github.com/ruby/openssl/issues/103. To be able to deploy Ruby 2.4 and the openssl gem on Heroku.
Fix errors when rake tasks missingThere are two modes of errors that were causing failures.
1) `db:test:purge` or other task does not exist it, yet we try to clear it.
Solution: check the task exists before trying to clear
```
if Rake::Task.task_defined?('db:test:purge')
```
2) Rails apps aren't required to have a database or activerecord.
When this happens the `db:schema:load_if_ruby` and `db:structure:load_if_sql` will ...
We cannot `db:create` a databaseThe `db:schema:load_if_ruby` calls `db:create` before loading the schema, which isn't possible against a Heroku database.
Changed to single quote strings due to complaints from rubocop.