maum-ai / maum-ai.github.io

maum-ai.github.io
https://maum-ai.github.io
14 stars 2 forks source link

Gemfile.lock tzinfo version problem #12

Closed dhchoi99 closed 3 years ago

dhchoi99 commented 3 years ago

commit 92d65fa 기준 local 실행 시도시 아래와 같은 오류 나옵니다.

$ bundle install
Fetching gem metadata from https://rubygems.org/...........
You have requested:
  tzinfo ~> 1.2

The bundle currently has tzinfo locked at 2.0.4.
Try running `bundle update tzinfo`

If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`

Gemfile.lock 확인하시면 tzinfo (~> 2.0), tzinfo (~> 1.2) 로 호환되지 않는 version constarint 잡혀있네요

Gemfile.lock 제거하고 다시 bundle_install 하면 정상 실행됩니다 Gemfile.lock 수정하거나 아예 repo에서 제거하면 좋을 것 같습니다.

example file(windows10, ruby version==3.0.1p64, bundler version 2.2.24):

GEM
  remote: https://rubygems.org/
  specs:
    activesupport (6.0.4)
      concurrent-ruby (~> 1.0, >= 1.0.2)
      i18n (>= 0.7, < 2)
      minitest (~> 5.1)
      tzinfo (~> 1.1)
      zeitwerk (~> 2.2, >= 2.2.2)
    addressable (2.8.0)
      public_suffix (>= 2.0.2, < 5.0)
    colorator (1.1.0)
    concurrent-ruby (1.1.9)
    em-websocket (0.5.2)
      eventmachine (>= 0.12.9)
      http_parser.rb (~> 0.6.0)
    eventmachine (1.2.7-x64-mingw32)
    ffi (1.15.3-x64-mingw32)
    forwardable-extended (2.6.0)
    gemoji (3.0.1)
    html-pipeline (2.14.0)
      activesupport (>= 2)
      nokogiri (>= 1.4)
    http_parser.rb (0.6.0)
    i18n (1.8.10)
      concurrent-ruby (~> 1.0)
    jekyll (4.2.0)
      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-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)
    jemoji (0.12.0)
      gemoji (~> 3.0)
      html-pipeline (~> 2.2)
      jekyll (>= 3.0, < 5.0)
    kramdown (2.3.1)
      rexml
    kramdown-parser-gfm (1.1.0)
      kramdown (~> 2.0)
    liquid (4.0.3)
    listen (3.6.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)
    minitest (5.14.4)
    nokogiri (1.11.7-x64-mingw32)
      racc (~> 1.4)
    pathutil (0.16.2)
      forwardable-extended (~> 2.6)
    public_suffix (4.0.6)
    racc (1.5.2)
    rb-fsevent (0.11.0)
    rb-inotify (0.10.1)
      ffi (~> 1.0)
    rexml (3.2.5)
    rouge (3.26.0)
    safe_yaml (1.0.5)
    sassc (2.4.0-x64-mingw32)
      ffi (~> 1.9)
    terminal-table (2.0.0)
      unicode-display_width (~> 1.1, >= 1.1.1)
    thread_safe (0.3.6)
    tzinfo (1.2.9)
      thread_safe (~> 0.1)
    tzinfo-data (1.2021.1)
      tzinfo (>= 1.0.0)
    unicode-display_width (1.7.0)
    wdm (0.1.1)
    webrick (1.7.0)
    zeitwerk (2.4.2)

PLATFORMS
  x64-mingw32

DEPENDENCIES
  jekyll (~> 4.2.0)
  jekyll-feed (~> 0.12)
  jemoji
  kramdown
  minima (~> 2.5)
  rouge
  tzinfo (~> 1.2)
  tzinfo-data
  wdm (~> 0.1.1)
  webrick

BUNDLED WITH
   2.2.24
junjun3518 commented 3 years ago

gitignore에는 들어가 있는데 파일이 살아있어서 계속 업데이트 되는것 같습니다 이참에 지우시죠

junjun3518 commented 3 years ago

Resolved by https://github.com/mindslab-ai/mindslab-ai.github.io/pull/13#issue-694858424