Skip to content

Commit a0380e8

Browse files
committed
Prefer Ruby 2.0; require 1.9.3+
1 parent 56f5188 commit a0380e8

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

guides/source/4_0_release_notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Ruby on Rails 4.0 Release Notes
33

44
Highlights in Rails 4.0:
55

6-
* Ruby 1.9.3 only
6+
* Ruby 2.0 preferred; 1.9.3+ required
77
* Strong Parameters
88
* Turbolinks
99
* Russian Doll Caching

guides/source/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ application from scratch. It does not assume that you have any prior experience
2121
with Rails. However, to get the most out of it, you need to have some
2222
prerequisites installed:
2323

24-
* The [Ruby](http://www.ruby-lang.org/en/downloads) language version 1.9.3 or higher
24+
* The [Ruby](http://www.ruby-lang.org/en/downloads) language version 1.9.3 or newer
2525
* The [RubyGems](http://rubygems.org/) packaging system
2626
* To learn more about RubyGems, please read the [RubyGems User Guide](http://docs.rubygems.org/read/book/1)
2727
* A working installation of the [SQLite3 Database](http://www.sqlite.org)
@@ -84,7 +84,7 @@ current version of Ruby installed:
8484

8585
```bash
8686
$ ruby -v
87-
ruby 1.9.3p327
87+
ruby 1.9.3p385
8888
```
8989

9090
To install Rails, use the `gem install` command provided by RubyGems:

guides/source/upgrading_ruby_on_rails.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ The best way to be sure that your application still works after upgrading is to
1616

1717
Rails generally stays close to the latest released Ruby version when it's released:
1818

19-
* Rails 3 and above requires Ruby 1.8.7 or higher. Support for all of the previous Ruby versions has been dropped officially and you should upgrade as early as possible.
20-
* Rails 3.2.x will be the last branch to support Ruby 1.8.7.
21-
* Rails 4 will support only Ruby 1.9.3.
19+
* Rails 3 and above require Ruby 1.8.7 or higher. Support for all of the previous Ruby versions has been dropped officially. You should upgrade as early as possible.
20+
* Rails 3.2.x is the last branch to support Ruby 1.8.7.
21+
* Rails 4 prefers Ruby 2.0 and requires 1.9.3 or newer.
2222

23-
TIP: Ruby 1.8.7 p248 and p249 have marshaling bugs that crash Rails. Ruby Enterprise Edition has these fixed since the release of 1.8.7-2010.02. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults, so if you want to use 1.9.x, jump on to 1.9.2 or 1.9.3 for smooth sailing.
23+
TIP: Ruby 1.8.7 p248 and p249 have marshaling bugs that crash Rails. Ruby Enterprise Edition has these fixed since the release of 1.8.7-2010.02. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults, so if you want to use 1.9.x, jump straight to 1.9.3 for smooth sailing.
2424

2525
Upgrading from Rails 3.2 to Rails 4.0
2626
-------------------------------------

railties/lib/rails/ruby_version_check.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
desc = defined?(RUBY_DESCRIPTION) ? RUBY_DESCRIPTION : "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE})"
33
abort <<-end_message
44
5-
Rails 4 requires Ruby 1.9.3+.
5+
Rails 4 prefers to run on Ruby 2.0.
66
77
You're running
88
#{desc}
99
10-
Please upgrade to continue.
10+
Please upgrade to Ruby 1.9.3 or newer to continue.
1111
1212
end_message
1313
end

0 commit comments

Comments
 (0)