383
384
385
386
387
388
389
390
391
392
|
# File 'lib/jets/builders/code_builder.rb', line 383
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)
|