Trans wrote: > Trans wrote: > > Huh... why can't I require a file that has no prefix? > > Er... s/prefix/suffix/ This is defined behavior, covered in the file eval.c around #6912 For the required file to be used as source, it MUST have a ".rb" suffix. irb also checks for the extention. If the extention is not present, then the extention is ASSUMED, and the require fails when that filename+ext is not present. Perhaps a paranoia about lots of other languages, etc., but it may save problems with other types of files. The extention provides the clues necessary to indicate how to handle that file. Best regards, Gerald