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
warning: Using the last argument as keyword parameters is deprecated (Ruby 2.7.0) #7947
Comments
|
Ruby 2.7 seems to be using lesser memory than Ruby 2.6 --- Travis build on Ruby 2.6.3
+++ Travis build on Ruby 2.7.0
- Total allocated: 425.21 MB (3818102 objects)
- Total retained: 19.86 MB (105724 objects)
+ Total allocated: 378.97 MB (3783442 objects)
+ Total retained: 19.53 MB (103632 objects)@DirtyF Is there any significant speed improvement? |
|
@ashmaroli nothing really noticeable without a proper benchmark 🤷♂ Ruby 2.7 also introduced better memory defragmentation, but I'm not sure it's applicable to Jekyll: |
|
Is there any way to suppress these warnings? Currently using |
Use current |
- Stay on Ruby 2.6 until resolution to jekyll/jekyll#7947 is available via github-pages.
In the new Ruby, there's a warning from Jekyll about using the last argument as keyword parameters. I've found that others are equally frustrated by this and have resorted to either upgrading (not yet prepared to do this) or silenceing. We have gone with the latter. ref: jekyll/jekyll#7947
|
This should not be closed until Ruby 2.7.0 is supported. |
|
@leimao Deprecation warnings have been removed in versions v3.8.7 and v4.0.1. |
Thank you. I did |
That did not work for me. |
|
For me, neither of the above two commands worked (using Jekyll with GitHub pages). Updated gemfile with github-pages to 206 and jekyll to 3.8.7. Executed Everything is hunky-dory now. |
Building the docs with Ruby 2.7 and Jekyll 4.0.0 spits out a lot of warnings, see jekyll/jekyll#7947. Updating to 4.0.1 fixes this.
Building the docs with Ruby 2.7 and Jekyll 4.0.0 spits out a lot of warnings, see jekyll/jekyll#7947. Updating to 4.0.1 fixes this.
Building the docs with Ruby 2.7 and Jekyll 4.0.0 spits out a lot of warnings, see jekyll/jekyll#7947. Updating to 4.0.1 fixes this.
Building the docs with Ruby 2.7 and Jekyll 4.0.0 spits out a lot of warnings, see jekyll/jekyll#7947. Updating to 4.0.1 fixes this.
Building the docs with Ruby 2.7 and Jekyll 4.0.0 spits out a lot of warnings, see jekyll/jekyll#7947. Updating to 4.0.1 fixes this.
My Environment
jekyllrubyExpected Behaviour
No warnings output when generating jekyll website with Ruby 2.7.0
Current Behavior
For more explanation on what is deprecated, see https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
The text was updated successfully, but these errors were encountered: