jekyll 升级

gem eventmachine fatal error: ‘openssl/ssl.h’ file not found



brew –prefix openssl
/usr/local/opt/openssl@3/include/openssl
ls /usr/local/opt/openssl@3/include/openssl



gem install eventmachine – –with-cppflags=-I$(brew –prefix openssl)include



sudo gem install eventmachine – –with-cppflags=-I$(brew –prefix openssl)include



都失败了因为路径不对:
sudo bundle config build.eventmachine –with-cppflags=-I$(brew –prefix openssl)//include



sudo bundle install
成功



% gem install eventmachine – –with-cppflags=-I$(brew –prefix openssl)//include
Building native extensions with: ‘–with-cppflags=-I/usr/local/opt/openssl@3//include’
This could take a while…





cat Gemfile
source “https://rubygems.org”
#source ‘https://gems.ruby-china.com’


Hello! This is where you manage which Jekyll version is used to run.


When you want to use a different version, change it below, save the


file and run bundle install. Run Jekyll with bundle exec, like so:


#


bundle exec jekyll serve


#


This will help ensure the proper Jekyll version is running.


Happy Jekylling!


gem “jekyll”, “~> 4.2.1”



This is the default theme for new Jekyll sites. You may change this to anything you like.


gem “minima”, “~> 2.0”
#gem ‘maruku’, ‘~> 0.7.3’


If you want to use GitHub Pages, remove the “gem “jekyll”” above and


uncomment the line below. To upgrade, run bundle update github-pages.


gem “github-pages”, group: :jekyll_plugins



If you have any plugins, put them here!


group :jekyll_plugins do
gem “jekyll-feed”, “~> 0.15.1”
end



gem “jekyll-paginate”,”~> 1.1.0”
gem “pygments.rb”,”~>1.1.2”


Windows does not include zoneinfo files, so bundle the tzinfo-data gem


gem ‘tzinfo-data’, platforms: [:mingw, :mswin, :x64_mingw, :jruby]



gem “addressable”, “~> 2.5.2”



% cat Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
concurrent-ruby (1.1.9)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.4)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
jekyll (4.2.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
multi_json (1.15.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (3.1.1)
pygments.rb (1.1.2)
multi_json (>= 1.0.0)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.27.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.8.0)



PLATFORMS
x86_64-darwin-19



DEPENDENCIES
addressable (~> 2.5.2)
jekyll (~> 4.2.1)
jekyll-feed (~> 0.15.1)
jekyll-paginate (~> 1.1.0)
minima (~> 2.0)
pygments.rb (~> 1.1.2)
tzinfo-data



BUNDLED WITH
2.2.3



% bundle exec jekyll s
https://www.codenong.com/30818391/


Category web