[RUBY] What to do if Operation not permitted is displayed when you execute a command in the terminal

Rails Intermediate Tutorial App Creation

When I tried to run rails s by routing to the top page and creating a controller in the middle of

Terminal


Operation not permitted 

, An error statement was displayed.

Solution

System Preferences-> Security & Privacy-> Privacy-> Select Full Disk Access from the list on the left-> Check Terminal.

This solved it by restarting the terminal.

Reference site

https://gori.me/mac/mac-tips/112082

Recommended Posts

What to do if Operation not permitted is displayed when you execute a command in the terminal
What to do if the prefix c is not bound in JSP
What to do when javax.el.ELException: Not a Valid Method Expression: appears when the JSF screen is displayed
[Maven] What to do if you are asked to incorporate a jar that is not in the remote repository into the war
What to do if you get a java.io.IOException in GlassFish
What to do if FacesMessage is set but not displayed
What to do if you can't use the rails command
What to do when "Fail to load the JNI shared library" is displayed in Eclipse
What to do if you cannot execute with the command "Java package name / class name"
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do if Command line is too long appears when building a gradle project in Intellij IDEA
[Ubuntu 20.04] What to do if the external monitor is not recognized
What to do if you get a gcc error in Docker
[Rails] What to do if data is not registered in DB
What to do if you don't see the test code error message in the terminal console
What to do when the changes in the Servlet are not reflected
[Rails] What to do if you get an error saying "Could not find a JavaScript runtime." When executing the rails s command on Catalina
[Rails Tutorial Chapter 2] What to do when you make a mistake in the column name
What to do if Cloud9 is full in the Rails tutorial
What to do if you get a DISPLAY error in gym.render ()
[Rails] What to do when the view collapses when a message is displayed with the errors method
What to do if you forget the root password in CentOS7
What to do if you select a JRE in Eclipse and get "The selected JRE does not support the current compliance level 11"
[Note] What to do if bundle install in Chapter 3 of the rails tutorial is not possible
What to do when you want to know the source position where the method is defined in binding.pry
What to do if you get a JNI shared library error when trying to build in Eclipse
What to do if the app is not created with the latest Rails version installed when rails new
What to do if you get a groovy warning in Thymeleaf Layout
What to do if the background image is not applied after deployment
When the project is not displayed in eclipse
What to do if you get a SQLite3 :: BusyException: database is locked error
What to do when you want to delete a migration file that is "NO FILE"
What to do if the changes are not reflected in the jar manifest file
What to do when rails db: seed does not reflect in the database
Androd: What to do about "The Realm is already in a write transaction in"
What to do when is invalid because it does not start with a'-'
What to do if you accidentally create a model
[Rails] What to do when the Refile image is not displayed when writing the processing at the time of Routing Error
What to do about "A server is already running ..." that happened without turning off the rails server in the terminal
What to do if you get a wrong number of arguments error in binding.pry
What to do if you can't get the text of an element in Selenium
What to do if you get a NoClassDefFoundError when trying to run eclipse on Java9
What to do when Address already in use is displayed after executing rails s
What to do if the breakpoint is shaded and does not stop during debugging
What to do if you are told "there is no main manifest attribute" when creating a jar file containing dependencies in a maven project
What to do when Method not found in f: ajax
What to do if audio is not available on discordrb
When [command not found: composer] is displayed when [composer install] is displayed in Laravel
What to do if the adb command cannot be executed
What to do if you get an error saying "Could not find a JavaScript runtime." When starting rails server
[Solution] What to do if you get a Docker error'ERROR: Cannot connect to the Docker daemon at unix: ///var/run/docker.sock. Is the docker daemon running?'
[Rails] What to do if you accidentally install bundle in the production environment in your local environment
What to do if you installed Ruby with rbenv but the version does not change
What to do when a could not find driver appears when connecting to a DB in a Docker environment
What to do if you get a "Cannot Pull Container Error" when starting ECS ​​Fargate
What to do if you get a "302" error in your controller unit test code in Rails
What to do when Rails on Docker does not reflect controller changes in the browser
How to make a jar with old Hadoop (hadoop-core-0.20.2-cdh3u6) in Gradle: (What to do if you get Could not expand ZIP ..)
What to do when an UnsupportedCharsetException occurs in a lightweight JRE
What to do if the Rails page doesn't appear in Rails tutorial 1.3.2
What to do when you become a Problem During Content Assist