Environment: MAC.
When learning rails, follow the official documents. Errors may be reported at this step
gem install rails
ERROR: While executing gem … (Gem::FilePermissionError)
Even if sudo is used to force the installation, an error will be reported in the next step.
rails new blog
`auth_ data=’: couldn’t set additional authenticated data
Solution:
Installing Ruby under MacOS – 🎄 Adomikao Yu Yongjian
The reason for the error is that the MAC installs ruby in the/usr/bin directory by default. This directory has strict permissions, resulting in code execution failure. The solution is to use RVM to install ruby in the user directory without affecting the system environment.
Read More:
- [Solved] Xcode13.1 Upgrade Error: CocoaPods installed but not working Failed to build gem native extension
- Gem5 Compiler error: error: -Werror=……no option [How to Solve]
- Cocoapods Install ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension.
- How to Solve Error while executing: am start -n
- [Solved] Error in executing mysqld — initialize command
- [Solved] Laravel reports an error when executing composer update
- [Solved] Error executing Jupyter command ‘notebook‘: [Errno 2] No such file or directory
- [Solved] Error: Failure while executing; `tar –extract –no-same-owner –file /Users/wangchuangyan/Library/C
- [Solved] Execution failed for task ‘:app:processDebugResources‘. > A failure occurred while executing com.and
- [Android Error] java.lang.RuntimeException: An error occurred while executing doInBackground()
- [Solved] Android Studio Run Error: Error while executing: am start -n
- How to Solve Error: [ERROR] Error executing Maven.
- ArcGIS error 999999: error executing function, table not found.
- [Solved] Executing npm install error: npm ERR! code EINTEGRITY
- [Solved] Android Studio Error: ERROR: Cause: executing external native build for cmake
- [Solved] Android Studio Change Project Error: Error while executing: am start
- Vue-element-admin Use npm install Error: npm ERR! Error while executing:
- Maven Configurate Error: [ERROR] Error executing Maven. [ERROR] 1 problem was encountered while building the effec
- Mac Appium Error: Error executing adb Exec. Original error…
- Bazel error executing command /usr/bin/gcc @bazel-out/k8-fastbuild/bin/flashroute/flashroute-2.p