Permalink
Browse files

added suport for ruby-head --branch ruby_1_8_7

  • Loading branch information...
1 parent f33282a commit f35f90941c9ba36a5d744c56977c0e4cc7ff4886 @skaes skaes committed Apr 1, 2012
Showing with 3,363 additions and 6 deletions.
  1. +18 −6 README.rdoc
  2. +3,345 −0 patches/ruby/1.8.7/railsexpress-latest.patch
View
@@ -36,15 +36,15 @@ This will then require you to specify the ruby version for rvm like so:
== Notes
-The patches are for specific versions of ruby only. They might work with later versions,
-but there's no guarantee. The following versions are currently supported:
+The patches are for specific versions of ruby. They might work with later versions, but
+there's no guarantee. The following versions are currently supported:
1.8.7-p334 # not recommended, as p352 fixes a serious GC corruption problem
1.8.7-p352 # not recommended, use at least p358
1.8.7-p357 # fixes a DOS vulnerability in 1.8.7
- 1.8.7-p358 # current rvm default for 1.8.7
+ 1.8.7-p358 # current rvm default for MRI-ruby 1.8.7
1.9.2-p180 #
- 1.9.2-p290 # current default for rvm MRI-ruby 1.9.2
+ 1.9.2-p290 # current rvm default for MRI-ruby 1.9.2
In order to make some patch level n the default for rvm, add the line
@@ -54,12 +54,24 @@ to $rvm_path/user/db.
To enable heap dump support, pass the --enable-gcdebug option to the rvm install command.
- rvm install 1.8.7 --force --patch railsexpress -C --enable-gcdebug -n gcdebug
- rvm install 1.9.2 --force --patch railsexpress -C --enable-gcdebug -n gcdebug
+ rvm reinstall 1.8.7 --patch railsexpress -C --enable-gcdebug -n gcdebug
+ rvm reinstall 1.9.2 --patch railsexpress -C --enable-gcdebug -n gcdebug
If rvm cannot configure your ruby, update your rvm install.
+=== Using patches for ruby-branches (1.8.7 only)
+The most recent patch level on the ruby_1_8_7 branch is 360. If you want to use it, you
+can install the corresponding ruby version with the following command:
+
+ rvm reinstall ruby-head --branch ruby_1_8_7 --patch railsexpress-latest -n railsexpress187
+
+Yuo can then use it with the command
+
+ rvm use ruby-head-railsexpress187
+
+Note that the patch contained in patch level 359 fixes a serious bug in the ruby
+marshaling code, which can crash the ruby interpreter.
== Credits
Oops, something went wrong.

0 comments on commit f35f909

Please sign in to comment.