CloudCannon / edition-jekyll-template

:books: Product documentation template for Jekyll
https://long-pig.cloudvent.net/
MIT License
357 stars 273 forks source link

Deprecated arguments for Jekyll 3.8.4 #15

Open wsmelton opened 3 years ago

wsmelton commented 3 years ago

Pulling down the theme and building shows warning signs from various gems:

      Regenerating: 1 file(s) changed at 2021-04-11 14:18:14                                                                   
                    _sass/_layout.scss                                                                                         
/root/gems/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
/root/gems/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/root/gems/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/root/gems/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/root/gems/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/root/gems/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/root/gems/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/root/gems/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
/root/gems/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated  
       Jekyll Feed: Generating feed for posts                                                                                  
                    ...done in 0.2074367 seconds.                                                                              
y377 commented 3 years ago

hi,you try :

bundle update --bundler
bundle install
jekyll serve -w --host=10.10.10.x

my centos7 is ok

[root@tr26 ~]# ruby -v ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux] [root@tr26 ~]# jekyll -v jekyll 4.2.0 [root@tr26 ~]# bundle -v Bundler version 2.2.26 [root@tr26 ~]# gem -v 3.1.4 [root@tr26 ~]#

[root@tr26 jbook]# jekyll serve -w --host=10.10.10.26 --port=4001
Configuration file: /root/jbook/_config.yml
            Source: /root/jbook
       Destination: /root/jbook/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/jekyll-3.8.4/lib/jekyll/document.rb:449: warning: Using the last argument as keyword parameters is deprecated
       Jekyll Feed: Generating feed for posts
                    done in 0.37 seconds.
/usr/local/rvm/gems/ruby-2.7.2/gems/pathutil-0.16.1/lib/pathutil.rb:502: warning: Using the last argument as keyword parameters is deprecated
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
/usr/local/rvm/gems/ruby-2.7.2/gems/rb-inotify-0.9.10/lib/rb-inotify/watcher.rb:66: warning: rb_safe_level will be removed in Ruby 3.0
 Auto-regeneration: enabled for '/root/jbook'
    Server address: http://10.10.10.26:4001
  Server running... press ctrl-c to stop.

image

y377 commented 3 years ago
source 'https://rubygems.org'

gem 'jekyll'

group :jekyll_plugins do
  gem 'jekyll-sitemap'
  gem 'jekyll-feed'
  gem 'jekyll-seo-tag'
  gem 'jekyll-timeago'
end

and try : image is good