no such file to load

I have a JRuby project with two ruby files in the same root directory. One is a unit test and the other is a helper file. When I do a require like this:

require 'my_helper'

I get the following error when I try to run the test:

no such file to load -- my_helper (LoadError)

This works just fine in NetBeans, why doesn't it work in IntelliJ?

1 comment

May be problem is caused by "work directory" in run configuration settings?


Please sign in to leave a comment.