Problem background
An error occurs when gitlab modifies the root password:
`handle_ argument_ error’: ERROR: “rails console” was called with arguments [“production”] (Thor::InvocationError)
As shown in the figure:
Note that the following prompt: Usage: “rails console [options]” is incorrect
Change password normally
There are only two parameters in total. After trying, the correct instruction is as follows:
gitlab-rails console -e production
be accomplished!
Read More:
- [Solved] ECharts Console Error: `resize` should not be called during main process
- [Solved] Vue gaiters console.log error: Unexpected console statement (no-console)
- Keras Concatenate error: Layer concatenate_1 was called with an input that isn’t a symbolic tensor…
- How to Solve ruby rails Install Error [Windows]
- How to Solve golang test Error: # command-line-arguments [command-line-arguments.test]
- ORA-24338 statement handle not executed [How to Solve]
- [Solved] Unity Error: Got null handle from IDXGIResource::GetSharedHandle
- (How to Fix) Ora-00600: internal error code, arguments: [4194]
- [Solved] FileUploadException: the request was rejected because no multipart boundary was found
- [Solved] C++ Error: terminate called after throwing an instance of ‘char const‘
- [Solved] pyinstaller: error: unrecognized arguments: sklearn
- [Solved] MinIO Start Error: “WARNING: Console endpoint is listening on a dynamic port…”
- [Solved] RuntimeError: CUDA error: CUBLAS_STATUS_ALLOC_FAILED when calling `cublasCreate(handle)`
- [Solved] Error: The superclass, ‘Animal‘, has no unnamed constructor that takes no arguments.
- CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`
- [Solved] NoClassDefFoundError: jline/console/completer/ArgumentCompleter$ArgumentDelimiter
- The method println(boolean) in the type PrintStream is not applicable for the arguments (void) Error
- [Solved] Qt Vtk wglMakeCurrent failed in MakeCurrent(), error: The handle is invalid.
- [Solved] iperf Analyze Error: unable to create a new stream: Invalid argument
- Android: Can’t create handler inside thread that has not called Looper.prepare() [Solved]