[Error] Jekyll 을 통한 깃헙 블로그 생성시 만난 오류들

2023. 1. 5. 13:38·기타/git

 

 

 

 

 

 

just the docs 를 통한 Github 블로그 만들기

Windows 10 환경에 깃헙 블로그를 만들어보자.

설정 도중 출력된 에러까지 해결해보자.

 

 

1. ruby install

 

RubyInstaller for Windows

Is RubyInstaller for you? RubyInstaller is the easiest and most widely-used Ruby environment on Windows. And Ruby is a great language for beginners as well as professionals. It’s suitable for small scripts as well as large applications. RubyInstaller com

rubyinstaller.org

2. gem install bundler jekyll

github 블로그를 jekyll 테마를 통해 생성하려면 아래와 같은 명령어를 사용한다.

# Install bundler pacakge manager and jekyll
# --platform : OS
# --(no-)lock : Create a lock file
$ gem install bundler jekyll --platform <platform> --no-lock

 

Gemfile

 

Gemfile.lock

 

 

 

3. bundle install

Gemfile 을 참고하여 필요한 패키지를 설치하는 명렁어다.

 

 

 

근데 Bundler 가 뭔가요?
루비 프로젝트에 필요한
'Gem 패키지 매니저'

 

 

설치 완료시 Gemfile.lock 에 각 패키지들의 버전 정보가 추가된다. (package.json - package-lock.json 관계를 연상해보라)

아래와 같은 에러를 만났다.

 

An error occurred while installing racc (1.6.2), and Bundler cannot continue.

In Gemfile:
  sassc-rails was resolved to 2.1.2, which depends on
    railties was resolved to 7.0.4, which depends on
      actionpack was resolved to 7.0.4, which depends on
        actionview was resolved to 7.0.4, which depends on
          rails-dom-testing was resolved to 2.0.3, which depends on
            nokogiri was resolved to 1.13.10, which depends on
              racc

 

 

 

 

 

 

 

ssl certificate 관련 에러가 발생하면?

별도로 ssl 인증서 파일을 지정해주는 방법도 있지만 귀찮다면 그냥

Gemfile 내의 https://~ 도메인을 http://~ 로 변경해주면된다.

 

 

 

 

각 모듈별 버전 정보 (2023-01-05)

index version
ruby 3.2.0
jekyll 4.3.1
bundle 2.4.2

 

 

 

 

References

 

Command Reference - RubyGems Guides

What each gem command does, and how to use it. This reference was automatically generated from RubyGems version 3.4.2. gem build Build a gem from a gemspec Usage gem build GEMSPEC_FILE [options] Options --platform PLATFORM - Specify the platform of gem to

guides.rubygems.org

 

저작자표시 (새창열림)

'기타 > git' 카테고리의 다른 글

Git repsotiroy migration 전략  (0) 2024.04.17
[git] revert 명령어  (0) 2023.04.27
[git] gitlab CI/CD to AWS EC2 (2)  (0) 2022.04.29
[git] gitlab CI/CD to AWS EC2 (1)  (0) 2022.04.25
[git] tag  (0) 2022.03.19
'기타/git' 카테고리의 다른 글
  • Git repsotiroy migration 전략
  • [git] revert 명령어
  • [git] gitlab CI/CD to AWS EC2 (2)
  • [git] gitlab CI/CD to AWS EC2 (1)
M_Falcon
M_Falcon
  • M_Falcon
    Falcon
    M_Falcon
  • 전체
    오늘
    어제
    • 분류 전체보기 (432)
      • Web (16)
        • Nodejs (14)
        • Javascript (23)
        • FrontEnd (4)
      • DataBase (39)
        • Fundamental (1)
        • Redis (4)
        • PostgreSQL (10)
        • NoSQL (4)
        • MySQL (9)
        • MSSQL (3)
        • Error (4)
      • Algorithm (79)
        • Algorithm (문제풀이) (56)
        • Algorithm (이론) (23)
      • JVM (65)
        • Spring (13)
        • JPA (5)
        • Kotlin (13)
        • Java (24)
        • Error (7)
      • 기타 (70)
        • Kafka (3)
        • Kubernetes (3)
        • Docker (13)
        • git (19)
        • 잡동사니 (27)
      • 재테크 (11)
        • 세무 (4)
        • 투자 (3)
        • 보험 (0)
      • BlockChain (2)
        • BitCoin (0)
      • C (32)
        • C (10)
        • C++ (17)
        • Error (3)
      • Low Level (8)
        • OS (3)
        • 시스템 보안 (5)
      • 네트워크 (3)
      • LINUX (30)
        • Linux (26)
        • Error (4)
      • 저작권과 스마트폰의 이해 (0)
      • 생각 뭉치 (6)
      • 궁금증 (2)
      • Private (4)
        • 이직 경험 (0)
        • 꿈을 찾아서 (1)
      • Android (21)
        • OS (4)
  • 블로그 메뉴

    • 홈
    • WEB
    • 알고리즘
    • DataBase
    • Linux
    • Mobile
    • C
    • 방명록
  • 링크

    • github
  • 공지사항

  • 인기 글

  • 태그

    database
    알고리즘
    java
    프로그래머스
    Bitcoin
    android
    algorithm
    Programmers
    C++
    백준
    kafka
    docker
    javascript
    PostgreSQL
    JPA
    Spring
    linux
    Kotlin
    Git
    ubuntu
  • hELLO· Designed By정상우.v4.10.3
M_Falcon
[Error] Jekyll 을 통한 깃헙 블로그 생성시 만난 오류들
상단으로

티스토리툴바