-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix an json compile error for "bundle install" on Ruby 2.4. #1069
Fix an json compile error for "bundle install" on Ruby 2.4. #1069
Conversation
cucumber.gemspec
Outdated
@@ -19,7 +19,7 @@ Gem::Specification.new do |s| | |||
s.add_dependency 'cucumber-wire', '~> 0.0.1' | |||
|
|||
s.add_development_dependency 'aruba', '~> 0.6.1' | |||
s.add_development_dependency 'json', '~> 1.7' | |||
s.add_development_dependency 'json', '>= 1.7', '< 2.1' | |||
s.add_development_dependency 'nokogiri', '~> 1.5' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather bump to ~> 2.0
, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nodo I agree with you. I will also prefer it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@node I updated my code adding new commit in the pull request. Feel free to do "rebase" of it.
Thanks for your help @junaruga! |
You are welcome @nodo ! |
Looks like we hit this bug: ku1ik/rainbow#49 (comment) . Possibly we could modify |
c474647
to
1daf131
Compare
@mattwynne ok, I did rebase right now. and checking Travis CI. |
json-1.8.6 is released and compatible with ruby-2.4.0 - forcing 2.x may cause issues for people dependent on the 1.8.x - see rails/rails#27450 |
@jacobat ok thanks for the information. So, finally this PR can be closed. |
Did you mean @junaruga ? |
yes, thanks @jacobat :-) |
Hi @nodo ok, I will test it. Just moment! |
What do you mean? See for detail of |
@nodo
|
Detail log of
|
It looks like 9c857e5 made the backtrace filter a bit too specific. |
Yes, it looks like. Filtering only |
@brasmusson @nodo ok, thanks for the information. Now below situation after this patch junaruga@344d030 .
This is same with #1071 Now checking the solution. |
@junaruga great! Please ,can you update the PR to use json-1.8.6? |
What do you mean? I am using json-1.8.6.
Could you explain how do you want to update it more detail? Did you see this past comment of mine? |
1daf131
to
2993818
Compare
@nodo I updated (did rebase) my PR to indicate using |
Sorry for the late reply, thanks for your help @junaruga 👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Fix an json compile error for "bundle install" on Ruby 2.4.
Installed json-1.8.3 does not have a compatibility for Ruby 2.4.
Details
On lastest master branch (commit hash: 8871da4)
Motivation and Context
We may want to run cucumber on Ruby 2.4.
How Has This Been Tested?
Screenshots (if appropriate):
I ran below command, and done successfully.
Types of changes
Checklist:
Later I want to add ruby 2.4.0 to .travis.yml.
But right now I got an error for
bundle exec rake cucumber
.I will inform it as a issue later.