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
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.
- [Rails 6] How to deal with ActiveRecord :: RecordInvalid: Validation failed:
- [Solved] Xcode13.1 Upgrade Error: CocoaPods installed but not working Failed to build gem native extension
- [Solved] Hive execute insert overwrite error: could not be cleared up
- Cocoapods Install ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension.
- [Solved] `handle_argument_error‘: ERROR: “rails console“ was called with arguments [“production“]
- Cocoapods Upgrade Error: ffi * * * * [How to Solve]
- Keil Compile Error: ..\OBJ\USART.axf: error: L6002U: Could not open file ..\obj\sys.o: No such file or directory
- Grpc Error: failed to unmarshal the received message proto: can‘t skip unknown wire type 7
- How to Solve Cocoapods Installation Failure
- M1 Computer: How to Solve pod update
- How to Solve cocos2dx msb3073 Error
- [Solved] Unity Import Xcode Project Error: iOS framework addition failed due to a CocoaPods installation failure.
- [Solved] The Ruby zlib extension was not compiled
- M1 MacBook pod install Report an error chip incompatibility problem
- Vagrant up Error: Warning: Authentication failure. Retrying…[How to Solve]
- [Solved] Vue Install less Error: this.getOptions is not a function
- [Solved] cocopod Error: failed: undefined method `map‘ for nil:NilClass
- MAC install lightgbm and xgboost Error [How to Solve]
- [Solved] Hive Error: FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.mr.MapredLocalTask