do not allow running on Ruby 2.0 anymore

it's known to not work

Change-Id: Ifa69a3390e26c172f07e178a568a1517d7c7d303
Reviewed-on: https://gerrit.instructure.com/55344
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Cody Cutrer 2015-05-29 10:27:51 -06:00
parent ff2fa04ed4
commit 59926790bc
1 changed files with 1 additions and 4 deletions

View File

@ -41,10 +41,7 @@ unless Gem::Requirement.new(*bundler_requirements).satisfied_by?(Gem::Version.ne
end
# NOTE: this has to use 1.8.7 hash syntax to not raise a parser exception on 1.8.7
if RUBY_VERSION == "2.0.0"
warn "Ruby 2.0 support is untested"
ruby '2.0.0', :engine => 'ruby', :engine_version => '2.0.0'
elsif RUBY_VERSION >= "2.1" && RUBY_VERSION < "2.2"
if RUBY_VERSION >= "2.1" && RUBY_VERSION < "2.2"
ruby RUBY_VERSION, :engine => 'ruby', :engine_version => RUBY_VERSION
elsif RUBY_VERSION >= "2.2"
warn "Ruby newer than 2.1 is very UNSUPPORTED"