/ GIT

문제상황 해결

Jekyll 실행 시 Error 처리

  • Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-3.9.0/lib/jekyll/commands/serve/servlet.rb:3:in `require’: cannot load such file – webrick (LoadError)

    • Jekill은 webrick 지원함

    • Ruby 버전 3.0 이상에서 기존의 gem이 webrick을 사용하지 않는 것 같음

      bundle add webrick
      

      실행하거나 또는 직접 아래 내용을

      gem “webrick”, “~> 1.7”

      Gemfile 내에 추가하고 bundle install 다시 실행(webrick 설치)

  • Please add the following to your Gemfile to avoid polling for changes: gem ‘wdm’, ‘>= 0.1.0’ if Gem.win_platform?

    • window platform에서 수정사항에 대한 polling을 피하기 위해 Gemfile에 wdm 추가

      bundle add wdm
      

      실행하거나 또는 직접 아래 내용을

      gem “wdm”, “~> 0.1.0” if Gem.win_platform?

      Gemfile 내에 추가하고 bundle install 다시 실행(wdm 설치)

    • Error는 아니고 warning 수준

기타사항

검색창이나 footer의 글자 색이 안보이는 경우 스타일 색 수정

  • style 태그로 스타일 추가

    <style>
        [type="text"] {
            background-color:gray;
            color:white;
        }
    </style>
    

  • footer의 스타일을 찾아 수정

    .site-footer-content a {
        color: rgba(160, 16, 71, 0.7);
    /*  기존 color가 흰색이라 흰색 백그라운드에서 안보임
    	color: rgba(255,255,255,0.7);	
    */
    }
    
-->