Sha256: 24207a6e0f80e1d2e9243a90bcbaab0d695d8bc51c8db5ee028efce32db982f4

Contents?: true

Size: 395 Bytes

Versions: 15

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.7.0") && RUBY_ENGINE == "ruby"
  desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
  abort <<-end_message

    Jets 5 requires Ruby 2.7.0 or newer.

    You're running
      #{desc}

    Please upgrade to Ruby 2.7.0 or newer to continue.

  end_message
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jets-5.0.13 lib/jets/ruby_version_check.rb
jets-5.0.12 lib/jets/ruby_version_check.rb
jets-5.0.11 lib/jets/ruby_version_check.rb
jets-5.0.10 lib/jets/ruby_version_check.rb
jets-5.0.9 lib/jets/ruby_version_check.rb
jets-5.0.8 lib/jets/ruby_version_check.rb
jets-5.0.7 lib/jets/ruby_version_check.rb
jets-5.0.6 lib/jets/ruby_version_check.rb
jets-5.0.5 lib/jets/ruby_version_check.rb
jets-5.0.4 lib/jets/ruby_version_check.rb
jets-5.0.3 lib/jets/ruby_version_check.rb
jets-5.0.2 lib/jets/ruby_version_check.rb
jets-5.0.1 lib/jets/ruby_version_check.rb
jets-5.0.0 lib/jets/ruby_version_check.rb
jets-5.0.0.beta1 lib/jets/ruby_version_check.rb