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.10.rc2 lib/rails/ruby_version_check.rb
railties-4.1.10.rc1 lib/rails/ruby_version_check.rb
railties-4.0.13 lib/rails/ruby_version_check.rb
railties-4.1.9 lib/rails/ruby_version_check.rb
railties-4.1.9.rc1 lib/rails/ruby_version_check.rb
railties-4.0.13.rc1 lib/rails/ruby_version_check.rb
railties-4.1.7.1 lib/rails/ruby_version_check.rb
railties-4.0.11.1 lib/rails/ruby_version_check.rb
railties-4.1.8 lib/rails/ruby_version_check.rb
railties-4.0.12 lib/rails/ruby_version_check.rb
railties-4.1.7 lib/rails/ruby_version_check.rb
railties-4.0.11 lib/rails/ruby_version_check.rb
nanumfont-rails-0.1 vendor/bundle/ruby/2.1.0/gems/railties-4.1.6/lib/rails/ruby_version_check.rb
railties-4.0.10 lib/rails/ruby_version_check.rb
railties-4.1.6 lib/rails/ruby_version_check.rb
railties-4.1.6.rc2 lib/rails/ruby_version_check.rb
railties-4.0.10.rc2 lib/rails/ruby_version_check.rb
railties-4.1.6.rc1 lib/rails/ruby_version_check.rb
railties-4.0.10.rc1 lib/rails/ruby_version_check.rb
railties-4.0.9 lib/rails/ruby_version_check.rb