Commit 2d83e43db0163028fddd54095a7f7260b3e5cc65
1 parent
7a88bf09
Exists in
master
and in
4 other branches
FIx gitlab:env:info
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
lib/tasks/gitlab/info.rake
@@ -54,16 +54,14 @@ namespace :gitlab do | @@ -54,16 +54,14 @@ namespace :gitlab do | ||
54 | 54 | ||
55 | 55 | ||
56 | # check Gitolite version | 56 | # check Gitolite version |
57 | - gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitolite/src/VERSION" | 57 | + gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitlab-shell/VERSION" |
58 | if File.readable?(gitolite_version_file) | 58 | if File.readable?(gitolite_version_file) |
59 | gitolite_version = File.read(gitolite_version_file) | 59 | gitolite_version = File.read(gitolite_version_file) |
60 | end | 60 | end |
61 | 61 | ||
62 | puts "" | 62 | puts "" |
63 | - puts "Gitolite information".yellow | 63 | + puts "GitLab Shell".yellow |
64 | puts "Version:\t#{gitolite_version || "unknown".red}" | 64 | puts "Version:\t#{gitolite_version || "unknown".red}" |
65 | - puts "Admin URI:\t#{Gitlab.config.gitolite.admin_uri}" | ||
66 | - puts "Admin Key:\t#{Gitlab.config.gitolite.admin_key}" | ||
67 | puts "Repositories:\t#{Gitlab.config.gitolite.repos_path}" | 65 | puts "Repositories:\t#{Gitlab.config.gitolite.repos_path}" |
68 | puts "Hooks:\t\t#{Gitlab.config.gitolite.hooks_path}" | 66 | puts "Hooks:\t\t#{Gitlab.config.gitolite.hooks_path}" |
69 | puts "Git:\t\t#{Gitlab.config.git.bin_path}" | 67 | puts "Git:\t\t#{Gitlab.config.git.bin_path}" |