Sha256: 9e0446edc514665a673a2e28f9926a60ab41de3f7d37b1b23713890a4b06c651

Contents?: true

Size: 302 Bytes

Versions: 74

Compression:

Stored size: 302 Bytes

Contents

if RUBY_VERSION < '1.9.3'
  desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
  abort <<-end_message

    Rails 4 prefers to run on Ruby 2.0.

    You're running
      #{desc}

    Please upgrade to Ruby 1.9.3 or newer to continue.

  end_message
end

Version data entries

74 entries across 74 versions & 4 rubygems

Version Path
railties-4.1.5 lib/rails/ruby_version_check.rb
railties-4.1.4 lib/rails/ruby_version_check.rb
railties-4.0.8 lib/rails/ruby_version_check.rb
railties-4.1.3 lib/rails/ruby_version_check.rb
railties-4.0.7 lib/rails/ruby_version_check.rb
railties-4.0.6 lib/rails/ruby_version_check.rb
railties-4.1.2 lib/rails/ruby_version_check.rb
railties-4.1.2.rc3 lib/rails/ruby_version_check.rb
railties-4.0.6.rc3 lib/rails/ruby_version_check.rb
railties-4.1.2.rc2 lib/rails/ruby_version_check.rb
railties-4.0.6.rc2 lib/rails/ruby_version_check.rb
railties-4.1.2.rc1 lib/rails/ruby_version_check.rb
railties-4.0.6.rc1 lib/rails/ruby_version_check.rb
railties-4.0.5 lib/rails/ruby_version_check.rb
railties-4.1.1 lib/rails/ruby_version_check.rb
railties-4.1.0 lib/rails/ruby_version_check.rb
railties-4.1.0.rc2 lib/rails/ruby_version_check.rb
railties-4.0.4 lib/rails/ruby_version_check.rb
railties-4.0.4.rc1 lib/rails/ruby_version_check.rb
railties-4.1.0.rc1 lib/rails/ruby_version_check.rb