diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-11 12:02:52 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-11 12:02:52 +0400 |
commit | 2d83e43db0163028fddd54095a7f7260b3e5cc65 (patch) | |
tree | a9ab8f766efa5a7148b41dc3e3b2b5bfbf809008 /lib/tasks/gitlab/info.rake | |
parent | 7a88bf09782db5f6c2b22a0e16fbc9df1a2168eb (diff) |
FIx gitlab:env:info
Diffstat (limited to 'lib/tasks/gitlab/info.rake')
-rw-r--r-- | lib/tasks/gitlab/info.rake | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/tasks/gitlab/info.rake b/lib/tasks/gitlab/info.rake index b325bcc333d..c55990762bb 100644 --- a/lib/tasks/gitlab/info.rake +++ b/lib/tasks/gitlab/info.rake @@ -54,16 +54,14 @@ namespace :gitlab do # check Gitolite version - gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitolite/src/VERSION" + gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitlab-shell/VERSION" if File.readable?(gitolite_version_file) gitolite_version = File.read(gitolite_version_file) end puts "" - puts "Gitolite information".yellow + puts "GitLab Shell".yellow puts "Version:\t#{gitolite_version || "unknown".red}" - puts "Admin URI:\t#{Gitlab.config.gitolite.admin_uri}" - puts "Admin Key:\t#{Gitlab.config.gitolite.admin_key}" puts "Repositories:\t#{Gitlab.config.gitolite.repos_path}" puts "Hooks:\t\t#{Gitlab.config.gitolite.hooks_path}" puts "Git:\t\t#{Gitlab.config.git.bin_path}" |