Running test from RubyMine gives 'cannot load such file'?

怎甘沉沦 提交于 2019-12-10 07:12:28

问题


I have a test which runs as expected from the command line with:

bundle exec rake test TEST=test/my_test.rb

However, when I run the test from RubyMine I get:

require': cannot load such file -- my_test_helper_gem/test_helper (LoadError)

When I cmd+click on the require statement in my_test, RubyMine opens the expected source code. Any suggestions of how to resolve this? Possibly it works for the command line due to some magic related to rake?

来源:https://stackoverflow.com/questions/40002746/running-test-from-rubymine-gives-cannot-load-such-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!