분류 전체보기20 깃허브 블로그 만들기: 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.orgbrew install ruby터미널에서 ruby -v 로 설치 확인(system으로 ruby가 설치되어 해결과정 필.. 2024. 5. 10. 깃허브 블로그 만들기:github.io (git push Token) 1. 새로운 repository 만들기 - username.github.io 형식으로 만들기 - Public 체크 - Add a README file 체크초록 버튼 Create repository 선택 2. 로컬 저장소로 repository를 clone 하기 code - HTTPS 에서 주소 복사 git clone https://github.com/{my_github_username}/{my_github_username}.github.io# git clone (복사한 주소) git_blog 라는 폴더를 만들어 그곳에 clone 3. Clone 한 폴더에서 index.html 파일 생성html 처음 접근했을 때 보여질 화면을 결정터미널에서 html 파일 만들기(창을 띄우기 위한 예시파일)cd userna.. 2024. 5. 10. Mac에서 gem 을 이용한 jekyll 설치가 안된다(Gem::FilePermissionError) 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 권한으로 실행하면 설치가 가능하지만, 보안상 이유로 권장하지 않는다.따라서 rbenv를 사용할 것이다.1. rbenv설치brew updatebrew install rbenv ruby-buildrbenv -v를 사용해 잘 설치되었는지 확인 2. rbenv를 사용한 Ruby 설치rbenv로 설치 가능한 Ruby 버전 리스트를 확인하여 설치(너무 낮은 버전으로 하면 .. 2024. 5. 10. Github push 가 안된다(git Token 발급) git push에서 비밀번호 입력하고 나서remote: Support for password authentication was removed on August 13, 2021.remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.fatal: Authentication failed for 'https://github.com/kcyeon0127/kcyeon0127.github.io.git/'비밀번호가 아니라 토큰을 발.. 2024. 5. 9. 이전 1 2 3 4 5 다음