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

Default Ruby version to 2.6.5 #947

Merged
merged 5 commits into from
Feb 5, 2020
Merged

Conversation

schneems
Copy link
Contributor

No description provided.

@schneems schneems force-pushed the schneems/bump-default-ruby-versions branch 2 times, most recently from 3312266 to 693be9e Compare January 22, 2020 19:28
- Skip the naether test which is failing for unknown reasons that need further investigation
- Change the description so that only tests that use `cedar-14` have it in the description
@schneems schneems force-pushed the schneems/bump-default-ruby-versions branch from 693be9e to 6b7f38c Compare January 22, 2020 19:45
Because Ruby 2.6.5 ships with Bundler 2 it also includes a check for bundler version and will error if the version does not match. This commit bumps up the logic of when the BUNDLED WITH lines in the Gemfile.lock get removed so they allow the Buildpack to execute correctly.
That app fails with Postgres 12 errors with the message:

```
/time_zone.rb:270: warning: circular argument reference - now

              -- initialize_schema_migrations_table()

              rake aborted!

              ActiveRecord::StatementInvalid: PG::InvalidParameterValue: ERROR:  invalid value for parameter "client_min_messages": "panic"

              HINT:  Available values: debug5, debug4, debug3, debug2, debug1, log, notice, warning, error.

              : SET client_min_messages TO 'panic'

              /app/vendor/bundle/ruby/2.6.0/gems/activerecord-3.1.12/lib/active_record/connection_adapters/postgresql_adapter.rb:605:in `async_exec'

              /app/vendor/bundle/ruby/2.6.0/gems/activerecord-3.1.12/lib/active_record/connection_adapters/postgresql_adapter.rb:605:in `block in execute'

              /app/vendor/bundle/ruby/2.6.0/gems/activerecord-3.1.12/lib/active_record/connection_adapters/abstract_adapter.rb:245:in `block in log'

              /app/vendor/bundle/ruby/2.6.0/gems/activesupport-3.1.12/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
```

This commit locks it to a specific Postgres version (Postgres 11)
@schneems schneems merged commit 1a15bf2 into master Feb 5, 2020
@schneems schneems deleted the schneems/bump-default-ruby-versions branch February 5, 2020 21:32
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.

2 participants