解决`handle_argument_error‘: ERROR: “rails console“ was called with arguments [“production“]

强制更改gitlab的密码

	1. docker exec -it gitlab /bin/bash

	2. gitlab-rails console

	3. user = User.find_by(email:'[email protected]')

	4.user.password='123456789'

	5.user.save!

猜你喜欢

转载自blog.csdn.net/weixin_37064409/article/details/123790064