깃허브 블로그 만들기: ruby, Jekyll 설치 (Gem::FilePermissionError)
1. Ruby 다운로드
https://www.ruby-lang.org/en/downloads/
Ways of Installing Ruby 섹션의 중간에 macOS는 rbenv 나 RVM과 같은 써드 파티 툴로 설치 가능하다고 나와있다.
아래는 설치하는 방법들
https://www.ruby-lang.org/ko/documentation/installation/
Ruby 설치하기
Ruby를 설치하고 관리할 수 있는 다양한 패키지 관리 시스템들과 서드파티 도구들이 있습니다. 컴퓨터에 이미 Ruby가 설치되어 있을 수도 있습니다. 이를 확인하려면 터미널을 열고 다음 명령어를
www.ruby-lang.org
brew install ruby
터미널에서 ruby -v 로 설치 확인(system으로 ruby가 설치되어 해결과정 필요..)
2. Jekyll 설치
system으로 ruby가 설치되어있을거라 그거 해결하고 와야합니다..
gem install jekyll
gem install bundler # ruby 프로젝트에서 gem 파일의 종속성을 관리하는 도구
# 에러! https://codingowo.tistory.com/11
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
Mac에서 gem 을 이용한 jekyll 설치가 안된다
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.시스템 ruby를 이용하고 있기 때문에 권한이 없어 gem 설치가 안되었다.sudo를 통해 root 권한으
codingowo.tistory.com
jekyll -v 와 bundler -v 로 잘 설치되었는지 확인한다