gitlab-rails runner fails when running rb file

Although it's published in the gitlab-rails runner -h:

rails runner path/to/filename.rb
    This runs the Ruby file located at `path/to/filename.rb` after loading the app

When I run gitlab-rails runner -e production scripts/file.rb I got the following error:

Please specify a valid ruby command or the path of a script to run. Run 'bin/rails runner -h' for help.

undefined local variable or method `scripts' for main:Object

-------------------------------------------------------------------------------------
 GitLab:       11.10.4-ee (88a3c791734)
 GitLab Shell: 9.0.0
 PostgreSQL:   9.6.11
-------------------------------------------------------------------------------------
(Rails 5.0.7.2)
Edited by Arlington1985