Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Warn about using Ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcassel committed Nov 25, 2014
1 parent e31dc0a commit 5f1b410
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion deploy/lib/ml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f1b410

Please sign in to comment.