After upgrade ruby to 2.7.1, I found my old octopress give below two warning:
/usr/local/lib/ruby/gems/2.7.0/gems/rake-11.3.0/lib/rake/application.rb:378: warning: deprecated Object#=~ is called on Proc; it always returns nil
Just need change application.rb:378 as below to fix it.
|
Another warning is:
/usr/local/lib/ruby/gems/2.7.0/gems/jekyll-0.12.1/lib/jekyll/post.rb:140: warning: URI.escape is obsolete
Just change as below:
|