Description
Using ruby 2.7.0, when starting a local development jekyll server (which uses pathutil 16.2), I see the following warning:
/home/motevets/workspace/test/vendor/bundle/ruby/2.7.0/gems/pathutil-0.16.2/lib/pathutil.rb:502: warning: Using the last argument as keyword parameters is deprecated.
It looks like this deprecation warning is in preparation for ruby 3. See "Separation of positional and keyword arguments in Ruby 3.0".
Steps
- install ruby 2.7.0
- install latest Jekyll
- create new Jekyll project, which will use the latest pathutil (16.2)
- run local development server
Output
gem install jekyll #latest
git init test
cd test
jekyll new .
bundle exec jekyll serve
Configuration file: /home/motevets/workspace/test/_config.yml
Source: /home/motevets/workspace/test
Destination: /home/motevets/workspace/test/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.389 seconds.
/home/motevets/workspace/test/vendor/bundle/ruby/2.7.0/gems/pathutil-0.16.2/lib/pathutil.rb:502: warning: Using the last argument as keyword parameters is deprecated
Auto-regeneration: enabled for '/home/motevets/workspace/test'
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
Note the warning after the Jekyll Feed step.
Expected
Configuration file: /home/motevets/workspace/test/_config.yml
Source: /home/motevets/workspace/test
Destination: /home/motevets/workspace/test/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
done in 0.389 seconds.
Auto-regeneration: enabled for '/home/motevets/workspace/test'
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
Note the lack warning after the Jekyll Feed step.
Description
Using ruby 2.7.0, when starting a local development jekyll server (which uses pathutil 16.2), I see the following warning:
It looks like this deprecation warning is in preparation for ruby 3. See "Separation of positional and keyword arguments in Ruby 3.0".
Steps
Output
Note the warning after the
Jekyll Feedstep.Expected
Note the lack warning after the
Jekyll Feedstep.