Sha256: 7b2a33e876c4971d5761027384820ca05ea4b15319e41b0ae1af8acbd5eaef76

Contents?: true

Size: 329 Bytes

Versions: 15

Compression:

Stored size: 329 Bytes

Contents

if RUBY_VERSION < "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

15 entries across 15 versions & 1 rubygems

Version Path
railties-5.1.5 lib/rails/ruby_version_check.rb
railties-5.1.5.rc1 lib/rails/ruby_version_check.rb
railties-5.1.4 lib/rails/ruby_version_check.rb
railties-5.1.4.rc1 lib/rails/ruby_version_check.rb
railties-5.1.3 lib/rails/ruby_version_check.rb
railties-5.1.3.rc3 lib/rails/ruby_version_check.rb
railties-5.1.3.rc2 lib/rails/ruby_version_check.rb
railties-5.1.3.rc1 lib/rails/ruby_version_check.rb
railties-5.1.2 lib/rails/ruby_version_check.rb
railties-5.1.2.rc1 lib/rails/ruby_version_check.rb
railties-5.1.1 lib/rails/ruby_version_check.rb
railties-5.1.0 lib/rails/ruby_version_check.rb
railties-5.1.0.rc2 lib/rails/ruby_version_check.rb
railties-5.1.0.rc1 lib/rails/ruby_version_check.rb
railties-5.1.0.beta1 lib/rails/ruby_version_check.rb