맥 포맷후 해야할 일

이태혁·2021년 4월 7일
1

숨김파일 보이게 하기
출처: https://macnews.tistory.com/5286
cmd + shift + >

macOS 개발환경 구축하기
https://subicura.com/2017/11/22/mac-os-development-environment-setup.html

git config --global user.name "taelee"
git config --global user.email "ritmakid@gmail.com"
git config --global core.precomposeunicode true
git config --global core.quotepath false

지킬 설치

https://jekyllrb.com/docs/installation/macos/

3.0.0버전으로 하면 에러가 남
2.7.2버전으로 깔아야함
rbenv를 설치해서
rbenv install 2.7.2
rbenv global 2.7.2로 버전을 바꿔줘야함

3.0.0에서 지킬 번들 깔아도 2.7.2에서 다시 깔아야함
3.0.0에서는 아무것도 안해도 될듯

xcode-select --install
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install Ruby
brew install ruby
# Install rbenv and ruby-build
brew install rbenv

# Set up rbenv integration with your shell
rbenv init
rbenv install 2.7.2
rbenv global 2.7.2
ruby -v
gem install --user-install bundler jekyll
bundle exec jekyll serve
profile
back-end, cloud, docker, web의 관심이 있는 예비개발자입니다.

0개의 댓글