, 나는 그래서 내가 여기에 문제가 ruby
내가 ruby --version
으로 확인 버전 2.0에 있다고 가정
/usr/local/Homebrew/Library/Homebrew/brew.rb:12:in \`<main>': Homebrew must be run under Ruby 2.3! (RuntimeError)
The command "if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi" failed and exited with 1 during .
Your build has been stopped.
/Users/travis/.travis/job_stages: line 166: shell_session_update: command not found
와 끝까지. 재미있는 점은 .travis.yml을 변경하지 않고 갑자기 빌드가 중단 된 것입니다.
그래서 Ruby 버전을 어떻게 실제로 변경합니까?
$ rvm use
Warning! PATH is not properly set up, '/Users/travis/.rvm/gems/ruby-2.0.0-p648/bin' is not at first place,
usually this is caused by shell initialization files - check them for 'PATH=...' entries,
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.0.0-p648'.
mutt 설치와 비슷한 문제가 있습니다. 나는 다음을 읽고, 관련이 있는지 모르겠다. https://discuss.circleci.com/t/homebrew-must-be-run-under-ruby-2-3-runtimeerror/17232/6 –
당신은 루비의 버전을 관리하기 위해 rvm을 사용하고 있습니다. 그게 맞습니까? – zee