Skip to main content

You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.


ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.


 Step 1 (install HomeBrew)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)

 

Step 2 (Run these two commands in your terminal to add Homebrew to your PATH)

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/”YOUR USER FORLDER”/.zprofile

  eval "$(/opt/homebrew/bin/brew shellenv)"


Step 3 (now you can install cocoapods)

brew install cocoapods

Comments

Popular posts from this blog

What Is a cardiac risk?

What is a cardiac risk calculator? Assessing cardiovascular risk involves taking a number of measurements and calculating the percentage risk of heart problems. A cardiac risk calculator takes data for an individual's predictors of disease, such as blood pressure, and compares the results with population-level statistics. Based on this information, the calculator tries to predict their chances of ASCVD, and the person will find out their percentage risk of having heart and blood vessel problems. This information can help the individual take measures to prevent cardiovascular health issues, if necessary. If the risk is very low, no further screening or treatment is necessary. If the calculator shows a high risk, a health professional will discuss lifestyle adjustments and other measures that may prevent an adverse event. People undergoing treatment for a cardiovascular condition will probably not use a calculator, as they are already managing their risks through treatment. Measurabl

Flames Calculator

How does this flames calculator work? It is always hard to define the  relationship between two people  in a simple word like friendship,  love , affection and enemy or to predict the outcome, like  marriage . The above tool tries to find the answer to questions likes "what is our relationship?" or to give you a sense of what is going on between you and another person. You are only asked to enter the two names between which you want to calculate the relationship. The flames calculator is based on quite a simple algorithm in which  FLAMES  stands for: ■  F riendship; ■  L ove; ■  A ffection; ■  M arriage; ■  E nemy; ■  S iblings. The FLAMES test is actually a  compatibility analysis   that reveals to what extent the  relationship between two persons can go , defining that into 6 simple words. You can use it as a  love meter  to see whether you and your crush have any chance to get serious or simply to see what future holds between you and the person you just met. This is just

Learn Analog

The Analog clock: At first, it’s best to focus on ensuring the child understands the significance of each hand: When we start playing with the clock, first of all, we teach the hours, before we start moving the minute hand five minutes at a time: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55. Once they’ve played with the clock for a while, and understand what each hand indicates, we can teach them quarters; a quarter of an hour, half an hour, and three-quarters of an hour. At the same time, we can show them the time on a digital clock, which helps simplify the exercise since the exact minutes are shown in number form. Since the numbers on an analog clock only go up to 12 and a day consists of 24 hours, when we read the time in analog we need to add  “am”   or  “pm”  to indicate the correct time.