Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-14 16:10:24 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-14 16:10:24 +0400
commit5e73a3b12407602d315aa648e36620b9b1baa22b (patch)
tree01421836be66cd63dfa136f3b984b4f6d787d222 /lib/gitlab/upgrader.rb
parentee53b73986ba4c9dd2f0c726a44718acb8febaf8 (diff)
Remove colored gem from upgrader script
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/gitlab/upgrader.rb')
-rw-r--r--lib/gitlab/upgrader.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/gitlab/upgrader.rb b/lib/gitlab/upgrader.rb
index 93c0aadb40d..15898fe4072 100644
--- a/lib/gitlab/upgrader.rb
+++ b/lib/gitlab/upgrader.rb
@@ -1,10 +1,9 @@
-require "colored"
require_relative "version_info"
module Gitlab
class Upgrader
def execute
- puts "GitLab #{current_version.major} upgrade tool".yellow
+ puts "GitLab #{current_version.major} upgrade tool"
puts "Your version is #{current_version}"
puts "Latest available version for GitLab #{current_version.major} is #{latest_version}"
@@ -62,12 +61,12 @@ module Gitlab
def upgrade
update_commands.each do |title, cmd|
- puts title.yellow
+ puts title
puts " -> #{cmd}"
if system(cmd)
- puts " -> OK".green
+ puts " -> OK"
else
- puts " -> FAILED".red
+ puts " -> FAILED"
puts "Failed to upgrade. Try to repeat task or proceed with upgrade manually "
exit 1
end