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?

0

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

0

请先登录再写评论。