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

Commit

Permalink
Merge pull request #315 from dmcassel/ruby-version
Browse files Browse the repository at this point in the history
Warn about using Ruby 1.8.7
  • Loading branch information
paxtonhare committed Dec 1, 2014
2 parents 09fc87f + 5f1b410 commit 0184e50
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 0184e50

Please sign in to comment.