don't allow ruby 2.2 with rails 3
Change-Id: I0544ad72d48ace97a1c9ba85f34ee4a961d4460d Reviewed-on: https://gerrit.instructure.com/46325 Tested-by: Jenkins <jenkins@instructure.com> 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:
parent
0d71b6b8ea
commit
30ef04deee
|
@ -38,6 +38,8 @@ if RUBY_VERSION == "2.0.0"
|
|||
ruby '2.0.0', :engine => 'ruby', :engine_version => '2.0.0'
|
||||
elsif RUBY_VERSION >= "2.1" && RUBY_VERSION < "2.2"
|
||||
ruby RUBY_VERSION, :engine => 'ruby', :engine_version => RUBY_VERSION
|
||||
elsif RUBY_VERSION >= "2.2" && CANVAS_RAILS3
|
||||
fail "Ruby newer than 2.1 is UNSUPPORTED unless running Rails 4"
|
||||
elsif RUBY_VERSION >= "2.2"
|
||||
warn "Ruby newer than 2.1 is very UNSUPPORTED"
|
||||
ruby RUBY_VERSION, :engine => 'ruby', :engine_version => RUBY_VERSION
|
||||
|
|
Loading…
Reference in New Issue