-
-
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
Getting undefined method 'unpack' for nil:NilClass
on ruby 2.2
#781
Comments
@tooky can you take this one? |
Probably this will fixed by cucumber/common@09d1b48 that introduced by #774 |
Just brought down Ruby 2.2 and am getting this with cucumber version 1.3.17. Any news on when an updated gem will be pushed for the 1.3.x path? I suppose I could update to to the 2.0 betas, if that is what will need to be done. |
I was getting this error also with ruby 2.2 and cucumber 1.3.17, but using the v1.3.x-bugfix branch, solved it. |
I just released 1.3.18 which has @tricknotes Ruby 2.2 support PR in it, so hopefully a quick Happy Christmas!= |
Thanks for the quick fix @mattwynne and @tricknotes! Sent from my iPhone
|
Thank you guys! 👏 |
👍 Thank you! |
Great job!!! Thanks! |
Is there a workaround to get it working in cucumber 1.3.15 as I have dependency on this version? |
@kritiagg have you tried running with 1.3.18 or 2.0.0? |
I cant move to that version as one of the other gem is dependent on the version 1.3.15 |
@kritiagg Is the "one of the other gems" that is dependent on the version 1.3.15, the "Cucumber JSON Expanded formatter" (https://gist.github.com/blt04/9866357)? In that case you can upgrade to version 2.0 or 1.3.17-18, which include #700. |
no, I am using gauntlt version 1.0.10 |
Version 1.3.10 has problems running with Ruby 2.2.3 - `undefined method `unpack' for nil:NilClass (NoMethodError)` Updating the cucumber version fixes this error. See: cucumber/cucumber-ruby#781
…rsion cucumber with message '/usr/local/lib/ruby/gems/2.5.0/gems/cucumber-1.3.4/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name'. Updating cucumber version as per suggestions here cucumber/cucumber-ruby#781 (comment)
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. |
Ruby 2.2-preview2 was released a couple weeks ago and I decided to add it to RSpec's travis build matrix to make sure we're all green on it (and, if not, to provide feedback to the ruby core team about any regressions we find). However, I'm running into an exception from cucumber when travis runs our cukes on ruby-2.2-preview2. (Actually, after looking at the full build logs, it looks like it's using 2.2-preview1...I guess
2.2
in.travis.yml
doesn't yet runpreview2
).Here's an example of the failure:
https://travis-ci.org/rspec/rspec-expectations/jobs/43763060#L155
Here's the full stack trace:
This might be a regression in ruby rather than a bug in cucumber, but I'm not in a good position to figure that out so I figured I'd report it here and let the cucumber team work that out :).
The text was updated successfully, but these errors were encountered: