Sha256: f1a3336f8d5840b0a744c655ed0d61e4c89a66e886f144ec1ba174804e650232

Contents?: true

Size: 396 Bytes

Versions: 37

Compression:

Stored size: 396 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

    Rails 7 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

37 entries across 35 versions & 4 rubygems

Version Path
railties-7.0.8.6 lib/rails/ruby_version_check.rb
railties-7.0.8.5 lib/rails/ruby_version_check.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/railties-7.0.8.4/lib/rails/ruby_version_check.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/ruby_version_check.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/ruby_version_check.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/ruby_version_check.rb
railties-7.0.8.4 lib/rails/ruby_version_check.rb
railties-7.0.8.1 lib/rails/ruby_version_check.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-7.0.3.1/lib/rails/ruby_version_check.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-7.0.2.3/lib/rails/ruby_version_check.rb
railties-7.0.8 lib/rails/ruby_version_check.rb
railties-7.0.7.2 lib/rails/ruby_version_check.rb
railties-7.0.7.1 lib/rails/ruby_version_check.rb
railties-7.0.7 lib/rails/ruby_version_check.rb
railties-7.0.6 lib/rails/ruby_version_check.rb
railties-7.0.5.1 lib/rails/ruby_version_check.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-7.0.2.3/lib/rails/ruby_version_check.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-7.0.3.1/lib/rails/ruby_version_check.rb
railties-7.0.5 lib/rails/ruby_version_check.rb
railties-7.0.4.3 lib/rails/ruby_version_check.rb