| Line | |
|---|
| 1 | Run "bin/install.rb --help" |
|---|
| 2 | |
|---|
| 3 | If you want to upgrade REXML (or install it as the default version of REXML) |
|---|
| 4 | run install.rb with no arguments. If you want to have multiple versions of |
|---|
| 5 | REXML installed at the same time, run install.rb with the "-c" argument. If |
|---|
| 6 | you do this, you will need to require REXML differently, since you will need |
|---|
| 7 | a "require" command that supports versioning. This is installed with REXML; |
|---|
| 8 | all you need to do is: |
|---|
| 9 | |
|---|
| 10 | require "require_with_version" |
|---|
| 11 | require "rexml" |
|---|
| 12 | |
|---|
| 13 | or |
|---|
| 14 | |
|---|
| 15 | require( "rexml" ) { |v| v >= "2.7" } |
|---|
| 16 | |
|---|
| 17 | to place restrictions on the version of REXML that you are loading. |
|---|