Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
038c4f08
Commit
038c4f08
authored
Jul 22, 2020
by
Muhamed Huseinbašić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add full path note to rails runner command line
parent
02c7e6d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/administration/troubleshooting/debug.md
doc/administration/troubleshooting/debug.md
+2
-2
No files found.
doc/administration/troubleshooting/debug.md
View file @
038c4f08
...
...
@@ -73,7 +73,7 @@ sudo gitlab-rails runner "RAILS_COMMAND"
# Example with a two-line Ruby script
sudo
gitlab-rails runner
"user = User.first; puts user.username"
# Example with a ruby script file
# Example with a ruby script file
(make sure to use the full path)
sudo
gitlab-rails runner /path/to/script.rb
```
...
...
@@ -85,7 +85,7 @@ sudo -u git -H bundle exec rails runner -e production "RAILS_COMMAND"
# Example with a two-line Ruby script
sudo
-u
git
-H
bundle
exec
rails runner
-e
production
"user = User.first; puts user.username"
# Example with a ruby script file
# Example with a ruby script file
(make sure to use the full path)
sudo
-u
git
-H
bundle
exec
rails runner
-e
production /path/to/script.rb
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment