RubyMine can't find RSpec tests

Answered

I'm trying to run RSpec through docker-compose but get the following error:

cannot load such file -- /opt/project/spec

My workdir is /app and I cannot change this. How do I tell RubyMine to use the /app directory instead?

3 comments

I forgot to add, this is using the new docker-compose exec option rather than docker-compose up to run the tests.

0

Hello Matthew,

thank you for the report, I've submitted the corresponding issue: https://youtrack.jetbrains.com/issue/RUBY-23991

Please check whether running with `docker-compose up` works in your case.

0

docker-compose up does indeed work as expected.

0

Please sign in to leave a comment.