Require no such file to load

Keep getting this annoying error “require no such file to load” when I
try to run this code.

At command prompt I type ruby main.rb

I honestly can’t see what’s wrong…please help, driving me mental.

both files exist, and are in the helpers directory of a rails project.

Derek

Derek S. wrote in post #1021206:

Keep getting this annoying error “require no such file to load” when I
try to run this code.

At command prompt I type ruby main.rb

I honestly can’t see what’s wrong…please help, driving me mental.

both files exist, and are in the helpers directory of a rails project.

Derek

I’ve found the answer here…