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
Kazuhiko Shiozaki
gitlab-ce
Commits
a3bbc595
Commit
a3bbc595
authored
Feb 20, 2013
by
Axilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We don't need to check .profile now that gitolite is replaced by gitlab-shell
parent
ba1a453e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+0
-25
No files found.
lib/tasks/gitlab/check.rake
View file @
a3bbc595
...
...
@@ -255,7 +255,6 @@ namespace :gitlab do
warn_user_is_not_gitlab
start_checking
"Environment"
check_issue_1059_shell_profile_error
check_gitlab_git_config
check_python2_exists
check_python2_version
...
...
@@ -294,30 +293,6 @@ namespace :gitlab do
end
end
# see https://github.com/gitlabhq/gitlabhq/issues/1059
def
check_issue_1059_shell_profile_error
gitlab_shell_ssh_user
=
Gitlab
.
config
.
gitlab_shell
.
ssh_user
print
"Has no
\"
-e
\"
in ~
#{
gitlab_shell_ssh_user
}
/.profile ... "
profile_file
=
File
.
join
(
gitlab_shell_user_home
,
".profile"
)
unless
File
.
read
(
profile_file
)
=~
/^-e PATH/
puts
"yes"
.
green
else
puts
"no"
.
red
try_fixing_it
(
"Open
#{
profile_file
}
"
,
"Find the line starting with
\"
-e PATH
\"
"
,
"Remove
\"
-e
\"
so the line starts with PATH"
)
for_more_information
(
see_installation_guide_section
(
"Gitlab Shell"
),
"https://github.com/gitlabhq/gitlabhq/issues/1059"
)
fix_and_rerun
end
end
def
check_python2_exists
print
"Has python2? ... "
...
...
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