Project

General

Profile

Actions

Bug #19168

closed

"such file" is bad grammar

Added by masterleep2 (Bill Lipa) almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [arm64-darwin22]
[ruby-core:111136]

Description

The error message for a missing required file has bad grammar:

$ irb
irb(main):001:0> require 'wuxx'
internal:/opt/local/lib/ruby3.1/3.1.0/rubygems/core_ext/kernel_require.rb:85:in `require': cannot load such file -- wuxx (LoadError)

The "such" should be removed. "cannot load file" reads more normally in English.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0