Skip to content

Issue 58: Bump ruby version to 2.4.2 - #59

Open
mshenfield wants to merge 1 commit into
codeforamerica:masterfrom
mshenfield:issue-58-bump-ruby-to-fix-deploy-to-heroku
Open

mshenfield wants to merge 1 commit into
codeforamerica:masterfrom
mshenfield:issue-58-bump-ruby-to-fix-deploy-to-heroku

Conversation

@mshenfield

@mshenfield mshenfield commented Sep 23, 2017 •

Copy link
Copy Markdown

Closes #58. 2.4.2 is the latest version of ruby supported by Heroku. The current version is causing deploys of this app to Heroku to fail.

This also updates various dependencies in the lockfile using bundle update #{name} because of issues related to newer versions of ruby.

For folks that have this checked out locally, I also had to brew install --force to force an up-to-date build of http_parse.rb, which was throwing Symbol not found: _rb_cFixnum.

Finally, this updates the petharbor cassette URI to include URL encoded single quotes, which were causing a failing test. The change in encoding was probably just an internal change to URI.encode_www_form from ruby 2.1 to 2.4.

Closes codeforamerica#58. 2.4.2 is the latest version of ruby [supported by Heroku](https://devcenter.heroku.com/articles/ruby-support#supported-runtimes). The current version is causing deploys of this app to Heroku to fail.

This also updates various dependencies in the lockfile using `bundle update #{name}` because of issues related to newer versions of ruby.

- `json` [⚠](ruby/json#286)
- `safe_yaml` [⚠](dtao/safe_yaml#67)
- `webmock` [⚠] (bblimke/webmock#683)

For folks that have this checked out locally, I also had to `brew install --force` to force an up to date build of `http_parse.rb`, which was throwing `Symbol not found: _rb_cFixnum`.

Finally, this updates petharbor cassette to include URL encoded quotes - this is probably just an internal change to `URI.encode_www_form`.
@mshenfield
mshenfield force-pushed the issue-58-bump-ruby-to-fix-deploy-to-heroku branch from d247848 to 48badf8 Compare September 23, 2017 23:27

This branch has not been deployed

No deployments
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