Skip to content

Commit d9674b1

Browse files
Earlopainnobu
authored andcommitted
[DOC] Fix -r CLI example
> <internal:/home/user/.rbenv/versions/4.0.0/lib/ruby/4.0.0/rubygems/core_ext/kernel_require.rb>:139:in 'Kernel#require': cannot load such file -- CSV (LoadError) Maybe it currently works on a case-insensitive file system
1 parent 6e18331 commit d9674b1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

doc/language/options.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ the option may be given more than once:
391391
$ ruby -e 'p defined?(JSON); p defined?(CSV)'
392392
nil
393393
nil
394-
$ ruby -r CSV -r JSON -e 'p defined?(JSON); p defined?(CSV)'
394+
$ ruby -r csv -r json -e 'p defined?(JSON); p defined?(CSV)'
395395
"constant"
396396
"constant"
397397
```
@@ -685,4 +685,3 @@ and disables input from `$stdin`.
685685
### `--version`: Print Ruby Version
686686

687687
Option `--version` prints the version of the Ruby interpreter, then exits.
688-

0 commit comments

Comments
 (0)