Jekyll 備忘録
ruby
bash --login rvm use ruby-2.5.1 --default
bundler のバージョンを Gemfile.lock の BUNDLED WITH に合わせる
/home/tkobayas/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
gem install bundler -v 1.16.4
Could not find XXX
Run `bundle install` to install missing gems.
bundle install
Gemfile の環境で実行するには
bundle exec jekyll serve
画像が見えないなど
_config.yml の
baseurl: "/"
から
baseurl: ""
に変更して bundle exec jekyll serve
Jekyll-Image-Size
まだいまいちよくわからん
https://github.com/generalui/jekyll-image-size/blob/master/README.md