Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.05 KB

File metadata and controls

50 lines (34 loc) · 1.05 KB

mac_setting

  1. 로제타 2 설치
  • sudo softwareupdate --install-rosetta --agree-to-license
  1. Update your path
  • export PATH="$PATH:[PATH_OF_FLUTTER_GIT_DIRECTORY]/bin"
  1. Flutter 경로지정
  • export PATH="$PATH:$HOME/flutter/bin"
  1. Command Line Tools 설치
  • xcode-select --install
  1. Homebrew 설치
  1. rbenv 설치
  • brew install rbenv
  1. rbenv 관련 설정을 ~/.zshrc에 추가
  • 첫 번째 명령어

  • export PATH="$HOME/.rbenv/bin:$PATH"

  • 두 번째 명령어

  • eval "$(rbenv init - zsh)"

8.루비 버전 검색

  • rbenv install -l
  1. 루비 설치 명령어
  • rbenv install 3.2.2
  1. nano 에디터 실행
  • nano ~/.zshrc
  1. nano 에디터 환경변수 설명 명령어
  • eval "$(rbenv init -)"
  1. .zshrc 파일 새로고침
  • source ~/.zshrc
  1. CocoaPods 설치
  • sudo gem install cocoapods
  1. ActiveSupport를 삭제
  • sudo gem uninstall activesupport
  1. 낮은 버전의 ActiveSupport를 설치
  • sudo gem install activesupport -v 7.0.8