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

Warn about using Ruby 1.8.7 #315

Merged
merged 1 commit into from
Dec 1, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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