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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
596442f7
Commit
596442f7
authored
Jan 26, 2013
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2784 from AlexDenisov/gitlab_check_environment
Missing environment added to 'Try fixing it' block
parents
b68bba44
6ab6c55d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+4
-4
No files found.
lib/tasks/gitlab/check.rake
View file @
596442f7
...
...
@@ -169,7 +169,7 @@ namespace :gitlab do
else
puts
"no"
.
red
try_fixing_it
(
sudo_gitlab
(
"bundle exec rake db:migrate"
)
sudo_gitlab
(
"bundle exec rake db:migrate
RAILS_ENV=production
"
)
)
fix_and_rerun
end
...
...
@@ -194,7 +194,7 @@ namespace :gitlab do
else
puts
"no"
.
red
try_fixing_it
(
sudo_gitlab
(
"bundle exec rake gitlab:satellites:create"
),
sudo_gitlab
(
"bundle exec rake gitlab:satellites:create
RAILS_ENV=production
"
),
"If necessary, remove the tmp/repo_satellites directory ..."
,
"... and rerun the above command"
)
...
...
@@ -789,7 +789,7 @@ namespace :gitlab do
else
puts
"wrong or missing"
.
red
try_fixing_it
(
sudo_gitlab
(
"bundle exec rake gitlab:gitolite:update_repos"
)
sudo_gitlab
(
"bundle exec rake gitlab:gitolite:update_repos
RAILS_ENV=production
"
)
)
for_more_information
(
"doc/raketasks/maintenance.md"
...
...
@@ -895,7 +895,7 @@ namespace :gitlab do
else
puts
"no"
.
red
try_fixing_it
(
sudo_gitlab
(
"bundle exec rake sidekiq:start"
)
sudo_gitlab
(
"bundle exec rake sidekiq:start
RAILS_ENV=production
"
)
)
for_more_information
(
see_installation_guide_section
(
"Install Init Script"
),
...
...
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