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

Issue 58: Bump ruby version to 2.4.2 #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mshenfield
Copy link

@mshenfield mshenfield commented Sep 23, 2017

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