
System/Library/Frameworks/amework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' Create a ~/.zshrc file and run the commands to install Homebrew and NVM again. On a fresh new M1 MacBook, there is no ~/.zshrc or ~/.zprofile created and the $PATH doesn't get updated because of it. You'll have to download and install it separately. Luckily, there is a Preview build by Google that supports Apple Silicon M1 chip based MacBooks. The Android Emulator doesn't work out of the box yet. Install JDK 8 brew install -cask adoptopenjdk/openjdk/adoptopenjdk8.Prefix the CocoaPods related commands with arch -x86_64.Open Terminal / iTerm with Rosetta (Get Info > Open using Rosetta).Install Homebrew if you don't have it installed already mkdir homebrew & curl -L | tar xz -strip 1 -C homebrewĮxport NVM_DIR="$([ -z "$/nvm")" It'll prompt you anyway when you run Xcode for the first time. Accept the Software License for Xcode sudo xcodebuild -license.Xcode Command Line Tools xcode-select -install.
