416
417
418
419
420
421
422
423
424
425
|
# File 'lib/jets/builders/code_builder.rb', line 416
def check_ruby_version
return unless ENV['JETS_RUBY_CHECK'] == '0' || Jets.config.ruby.check == false
return if ruby_version_supported?
puts " You are using Ruby version \#{RUBY_VERSION} which is not supported by Jets.\n Please use one of the Jets supported ruby versions: \#{SUPPORTED_RUBY_VERSIONS.join(' ')}\n If you would like to skip this check you can set: JETS_RUBY_CHECK=0\n EOL\n exit 1\nend\n".color(:red)
|