Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,11 +32,11 @@ h3. Upgrading to Rails 3 | |
|
||
If you're upgrading an existing application, it's a great idea to have good test coverage before going in. You should also first upgrade to Rails 2.3.5 and make sure your application still runs as expected before attempting to update to Rails 3. Then take heed of the following changes: | ||
|
||
h4. Rails 3 requires Ruby 1.8.7+ | ||
h4. Rails 3 requires at least Ruby 1.8.7 | ||
|
||
Rails 3.0 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. Rails 3.0 is also compatible with Ruby 1.9.2. | ||
|
||
TIP: Note that Ruby 1.8.7 p248 and p249 has marshaling bugs that crash Rails 3.0.0. Ruby Enterprise Edition have these fixed since release 1.8.7-2010.02 though. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults on Rails 3.0.0, so if you want to use Rails 3 with 1.9.x jump on 1.9.2 for smooth sailing. | ||
TIP: Note that Ruby 1.8.7 p248 and p249 has marshaling bugs that crash Rails 3.0. Ruby Enterprise Edition have these fixed since release 1.8.7-2010.02 though. On the 1.9 front, Ruby 1.9.1 is not usable because it outright segfaults on Rails 3.0, so if you want to use Rails 3 with 1.9.x jump on 1.9.2 for smooth sailing. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
fxn
Author
Member
|
||
|
||
h4. Rails Application object | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,10 @@ | |
You're running #{ruby_release}; please upgrade to continue. | ||
end_message | ||
elsif RUBY_VERSION == '1.9.1' | ||
abort <<-EOS | ||
Rails 3 does not work with Ruby 1.9.1. Please upgrade to 1.9.2. | ||
This comment has been minimized.
Sorry, something went wrong.
KieranP
|
||
EOS | ||
end |
I'm not typically a grammatical nazi however this jumped out at me. Please accept my apologies as I know this doesn't contribute to making Ruby a better framework. I was just perusing the commits to see what was new and stumbled upon it. I hope no offense is taken.
TIP: Note ... p248 and p249 have marshaling bugs ... Enterprise Edition has fixed these since release 1.8.7-2010.02.