jekyll-3.6.3/lib/jekyll/tags/include.rb:193: warning: Using the last argument as keyword parameters is deprecated
https://github.com/jekyll/jekyll/issues/7947
% bundle update jekyll
Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running gem install bundler
.
% gem install bundler
Fetching bundler-2.3.4.gem
ERROR: While executing gem … (Gem::FilePermissionError)
You don’t have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
% sudo gem install bundler
Password:
Fetching bundler-2.3.4.gem
Successfully installed bundler-2.3.4
Parsing documentation for bundler-2.3.4
Installing ri documentation for bundler-2.3.4
Done installing documentation for bundler after 0 seconds
1 gem installed
% bundler –version
Bundler version 1.17.2
% gem list bundler
** LOCAL GEMS **
bundler (2.3.4, default: 1.17.2)
https://stackoverflow.com/questions/42548445/how-to-make-a-specific-gem-version-as-default/55203601
% sudo gem install bundler –default
ls /Library/Ruby/Gems/2.6.0/specifications/default/bundler-*
/Library/Ruby/Gems/2.6.0/specifications/default/bundler-1.17.2.gemspec /Library/Ruby/Gems/2.6.0/specifications/default/bundler-2.3.4.gemspec
https://stackoverflow.com/questions/54761120/rails-how-to-change-bundler-default-version
sudo rm /Library/Ruby/Gems/2.6.0/specifications/default/bundler-1.17.2.gemspec
sudo gem install bundler
% bundler -version
Traceback (most recent call last):
2: from /usr/local/bin/bundler:23:in <main>'
activate_bin_path’
1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:302:in
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:283:in find_spec_for_exe': Could not find 'bundler' (1.17.3) required by your /Users/xiazemin/MyBlogSrc/Gemfile.lock. (Gem::GemNotFoundException)
bundle update –bundler
To update to the latest version installed on your system, run .
gem install bundler:1.17.3`
To install the missing version, run
https://github.com/barryclark/jekyll-now
https://github.com/osteele/gojekyll
https://github.com/jekyll/jekyll
brew reinstall ruby