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
Travis CI: TypeError: can't dup NilClass on Ruby <= 2.3 and rack-2.x cases #243
Comments
I found the reason of the issue. |
I suggest just using 2.0.4 for now so that we are not blocked. Once that is merged and the other fix is rolled out, we have a stable build again and then we do not need to rush the sinatra update and just do it after their update. Just my 2 cents. |
@scepticulous I agree with you. Let's send the pull-request later. |
Actually I would prefer pinning the version to 2.0.4 for now. Reasoning: Never be blocked in a broken state with something you have to "wait for". |
@scepticulous yes I agree with you. But I think pinning the sinatra version 2.0.4 is temporary until the 2.0.6 version will be released. |
There's a bug in Sinatra 2.0.5 that makes one REST test fail (devices_write_test.rb) as it tries to dup a NilClass. See rack/rack-test#243 for discussion. The commit that fixes the error is sinatra/sinatra@d8c1839 but, at the time of this commit, there have been no Sinatra releases in almost nine months and the fix is not in any released version. So downgrading is the only option. EDIT: Just after making this commit, I noticed they released a fixed version yesterday (2.0.6) and another fix (2.0.7) this morning. I am not upgrading it yet.
I would open new ticket for the issue, originally comes from #240 (comment) .
This error happens below line.
A fact is the rack-test CI was passed with dependencies: rack 2.0.5 and sinatra 2.0.4 5 month ago.
https://travis-ci.org/rack-test/rack-test/jobs/432436824
I assume current latest version rack 2.0.6 or sinatra 2.0.5 changed the interface.
The text was updated successfully, but these errors were encountered: