Sha256: 410910ad90f0be4d9213db4ca1fa51119e5061e196e296d7c31efea7a405ee7f

Contents?: true

Size: 396 Bytes

Versions: 38

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

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

    Rails 5 requires Ruby 2.2.2 or newer.

    You're running
      #{desc}

    Please upgrade to Ruby 2.2.2 or newer to continue.

  end_message
end

Version data entries

38 entries across 38 versions & 3 rubygems

Version Path
railties-5.2.8.1 lib/rails/ruby_version_check.rb
railties-5.2.8 lib/rails/ruby_version_check.rb
railties-5.2.7.1 lib/rails/ruby_version_check.rb
railties-5.2.7 lib/rails/ruby_version_check.rb
railties-5.2.6.3 lib/rails/ruby_version_check.rb
railties-5.2.6.2 lib/rails/ruby_version_check.rb
railties-5.2.6.1 lib/rails/ruby_version_check.rb
railties-5.2.6 lib/rails/ruby_version_check.rb
railties-5.2.4.6 lib/rails/ruby_version_check.rb
railties-5.2.5 lib/rails/ruby_version_check.rb
railties-5.2.4.5 lib/rails/ruby_version_check.rb
railties-5.2.4.4 lib/rails/ruby_version_check.rb
railties-5.2.4.3 lib/rails/ruby_version_check.rb
railties-5.2.4.2 lib/rails/ruby_version_check.rb
railties-5.2.4.1 lib/rails/ruby_version_check.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/ruby_version_check.rb
railties-5.2.4 lib/rails/ruby_version_check.rb
railties-5.2.4.rc1 lib/rails/ruby_version_check.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/ruby_version_check.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/ruby_version_check.rb