-
We have an install of Gitlab running in a Docker container. I'm trying to run this script with the following command;
sudo docker exec -t gitlab gitlab-rails runner clean_projects.rbBut it's giving me the error;
/opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.8/lib/rails/commands/runner.rb:62:in<top (required)>': undefined local variable or methodclean_projects' for main:Object (NameError)Is this not the correct way to run the script for a Docker instance? Thanks.
Please register or sign in to comment