I have a file in a directory test/
.
The file is "test.rb".
When I start IRB and type:
require 'test'
require_relative 'test'
It returns:
LoadError: cannot load such file -- test
and:
LoadError: cannot infer basepath
Is my Ruby messed up?