From 5f1b410aa63628926770df8b35003ae64a885ada Mon Sep 17 00:00:00 2001 From: Dave Cassel Date: Tue, 25 Nov 2014 16:02:36 -0500 Subject: [PATCH] Warn about using Ruby 1.8.7 --- deploy/lib/ml.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deploy/lib/ml.rb b/deploy/lib/ml.rb index 2f32e1e5..0a5a9f9b 100755 --- a/deploy/lib/ml.rb +++ b/deploy/lib/ml.rb @@ -60,9 +60,17 @@ def need_help? WARNING!!! You are using a very old version of Ruby: #{RUBY_VERSION} - Roxy works best with Ruby 1.8.7 or greater. + Roxy works best with Ruby 1.9.3 or greater. Proceed with caution. MSG +elsif RUBY_VERSION < "1.9.3" + @logger.warn <<-MSG + + WARNING!!! + Ruby version 1.9.3 is the oldest supported version. You are running + Ruby #{RUBY_VERSION}. Some features may not work. You are encouraged to + upgrade to Ruby 1.9.3+. + MSG end begin