Skip to content

Commit

Permalink
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions kernel/loader.rb
Original file line number Diff line number Diff line change
@@ -426,9 +426,15 @@ def options(argv=ARGV)
All variables, even ones that the VM doesn't understand, are available
in Rubinius::Config.
These options can also be passed via the RBXOPT environment variable:
Options are parsed from these sources, in this order:
RBXOPT=-Xint rbx
1. The file .rbxrc in the current working directory.
2. The RBXOPT environment variable.
3. The command line options.
This order permits environment and command line options to override
"application" configuration. Likewise, command line options can override
environment configuration.
A number of Rubinius features are driven by setting these variables.
DOC
4 changes: 2 additions & 2 deletions vm/environment.cpp
Original file line number Diff line number Diff line change
@@ -247,8 +247,8 @@ namespace rubinius {
* 2. The RBXOPT environment variable.
* 3. The command line options.
*
* This order permits environment and command line ot override
* "application" configuration. Likewise, command line can override
* This order permits environment and command line options to override
* "application" configuration. Likewise, command line options can override
* environment configuration.
*/

0 comments on commit e0f904a

Please sign in to comment.